Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@candlefinance/kit

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@candlefinance/kit

UIKit views made accessible for React Native (UISlider, UISegmentedControl, etc).

unpublished
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

@candlefinance/kit

UIKit views made accessible for React Native.

Installation

yarn install @candlefinance/kit

Usage (tbd)

import { SegmentedControl, Slider } from '@candlefinance/kit';

<SegmentedControl
  titles={['One', 'Two', 'Three']}
  selectedIndex={2}
  onChange={(event) => {
    console.log(event.nativeEvent.selectedIndex);
  }}
  selectedIndexColor="#ff0067"
  unselectedFontAttributes={{
    size: 18,
    color: '#000',
    weight: 'bold',
    rounded: true,
  }}
  selectedFontAttributes={{
    size: 18,
    color: '#fff',
    weight: 'bold',
    rounded: true,
  }}
  style={{ width: 200, height: 40 }}
  hideBackground={true}
/>

<Slider
  currentValue={1}
  minValue={0}
  maxValue={10}
  steps={1}
  maxTrackTintColor="#ff0067"
  minTrackTintColor="#000"
  thumbColor="#000"
  onChange={(event) => {
    console.log(event.nativeEvent.value);
  }}
  style={{ width: 200, height: 40 }}
/>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Keywords

react-native

FAQs

Package last updated on 28 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts