UNPKG

react-native-ui-lib

Version:

[![Build Status](https://travis-ci.org/wix/react-native-ui-lib.svg?branch=master)](https://travis-ci.org/wix/react-native-ui-lib) [![npm](https://img.shields.io/npm/v/react-native-ui-lib.svg)](https://www.npmjs.com/package/react-native-ui-lib) [![NPM Down

22 lines (21 loc) 582 B
/// <reference types="react" /> import { BaseComponent } from "../../commons"; declare type CheckboxProps = { value?: boolean; onValueChange?: (...args: any[]) => any; color?: string; size?: number; borderRadius?: number; selectedIcon?: number; iconColor?: string; }; /** * Checkbox component for toggling boolean value related to some context */ declare class Checkbox extends BaseComponent<CheckboxProps, {}> { static displayName: string; generateStyles(): void; onPress: () => void; render(): JSX.Element; } export default Checkbox;