@uiw/react-native
Version:
UIW for React Native
15 lines (14 loc) • 533 B
TypeScript
import React from 'react';
import { TouchableOpacityProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
export interface CheckBoxProps extends TouchableOpacityProps {
textStyle?: StyleProp<TextStyle & ViewStyle>;
checked?: boolean;
disabled?: boolean;
color?: string;
size?: number;
checkedIcon?: string | JSX.Element;
unCheckedIcon?: string | JSX.Element;
onChange?: (checked: boolean) => void;
}
declare function CheckBox(props: CheckBoxProps): React.JSX.Element;
export default CheckBox;