1 | import React from 'react';
|
2 | import { TextProps, TextStyle, ViewStyle, StyleProp, TouchableOpacityProps } from 'react-native';
|
3 | import { CheckBoxIconProps } from './CheckBoxIcon';
|
4 | import { RneFunctionComponent } from '../helpers';
|
5 | export declare type CheckBoxProps = TouchableOpacityProps & CheckBoxIconProps & {
|
6 | Component?: typeof React.Component;
|
7 | iconRight?: boolean;
|
8 | title?: string | React.ReactElement<{}>;
|
9 | titleProps?: TextProps;
|
10 | center?: boolean;
|
11 | right?: boolean;
|
12 | containerStyle?: StyleProp<ViewStyle>;
|
13 | wrapperStyle?: StyleProp<ViewStyle>;
|
14 | textStyle?: StyleProp<TextStyle>;
|
15 | checkedTitle?: string;
|
16 | fontFamily?: string;
|
17 | };
|
18 | declare const CheckBox: RneFunctionComponent<CheckBoxProps>;
|
19 | export { CheckBox };
|
20 | declare const _default: React.FunctionComponent<Omit<TouchableOpacityProps & CheckBoxIconProps & {
|
21 | Component?: typeof React.Component;
|
22 | iconRight?: boolean;
|
23 | title?: string | React.ReactElement<{}, string | React.JSXElementConstructor<any>>;
|
24 | titleProps?: TextProps;
|
25 | center?: boolean;
|
26 | right?: boolean;
|
27 | containerStyle?: StyleProp<ViewStyle>;
|
28 | wrapperStyle?: StyleProp<ViewStyle>;
|
29 | textStyle?: StyleProp<TextStyle>;
|
30 | checkedTitle?: string;
|
31 | fontFamily?: string;
|
32 | } & Partial<import("../config").ThemeProps<CheckBoxProps>>, keyof import("../config").ThemeProps<T>>> | React.ForwardRefExoticComponent<TouchableOpacityProps & CheckBoxIconProps & {
|
33 | Component?: typeof React.Component;
|
34 | iconRight?: boolean;
|
35 | title?: string | React.ReactElement<{}, string | React.JSXElementConstructor<any>>;
|
36 | titleProps?: TextProps;
|
37 | center?: boolean;
|
38 | right?: boolean;
|
39 | containerStyle?: StyleProp<ViewStyle>;
|
40 | wrapperStyle?: StyleProp<ViewStyle>;
|
41 | textStyle?: StyleProp<TextStyle>;
|
42 | checkedTitle?: string;
|
43 | fontFamily?: string;
|
44 | } & Partial<import("../config").ThemeProps<CheckBoxProps>>>;
|
45 | export default _default;
|