// Type definitions for react-native-check-box 2.1 // Project: https://github.com/crazycodeboy/react-native-check-box#readme // Definitions by: Rodolphe Lemasquerier // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped import * as React from 'react'; import { StyleProp, TextStyle, ViewStyle } from 'react-native'; export interface CheckBoxProps { style?: StyleProp; leftText?: string; leftTextStyle?: StyleProp; leftTextView?: React.ReactNode; rightText?: string; rightTextStyle?: StyleProp; rightTextView?: React.ReactNode; checkedImage?: React.ReactElement; uncheckedImage?: React.ReactElement; isChecked: boolean; onClick: () => void; disabled?: boolean; checkBoxColor?: string; checkedCheckBoxColor?: string; uncheckedCheckBoxColor?: string; } declare class CheckBox extends React.Component {} export default CheckBox;