import { StyleProp, TextStyle, ViewStyle } from "react-native"; import { DefaultTheme } from "styled-components"; declare type Props = { /** * Status of checkbox. */ status: "checked" | "unchecked" | "indeterminate"; /** * Whether checkbox is disabled. */ disabled?: boolean; /** * Label to be displayed on the item. */ label: string; /** * Function to execute on press. */ onPress?: () => void; /** * Custom color for unchecked checkbox. */ uncheckedColor?: string; /** * Custom color for checkbox. */ color?: string; /** * Additional styles for container View. */ style?: StyleProp; /** * Style that is passed to Label element. */ labelStyle?: StyleProp; /** * @optional */ theme?: DefaultTheme; /** * testID to be used on tests. */ testID?: string; /** * Whether `` or `` should be used. * Left undefined `` will be used. */ mode?: "android" | "ios"; textAfterButton?: boolean; }; /** * Checkbox.Item allows you to press the whole row (item) instead of only the Checkbox. * * ## Usage * ```js * import * as React from 'react'; * import { View } from 'react-native'; * import Checkbox from 'react-native-simple-elements/components/Checkbox'; * * const MyComponent = () => ( * * * * ); * * export default MyComponent; *``` */ declare const CheckboxItem: { ({ style, status, label, onPress, labelStyle, testID, mode, textAfterButton, ...props }: Props): JSX.Element; displayName: string; }; export default CheckboxItem; declare const CheckboxItemWithTheme: { ({ style, status, label, onPress, labelStyle, testID, mode, textAfterButton, ...props }: Props): JSX.Element; displayName: string; }; export { CheckboxItemWithTheme as CheckboxItem };