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<Pick<TouchableOpacityProps & CheckBoxIconProps & {
|
21 | Component?: typeof React.Component;
|
22 | iconRight?: boolean;
|
23 | title?: string | React.ReactElement<{}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, 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>>, "style" | "onLayout" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "center" | "disabled" | "size" | "onPress" | "onLongPress" | "activeOpacity" | "delayLongPress" | "delayPressIn" | "delayPressOut" | "hitSlop" | "onBlur" | "onFocus" | "onPressIn" | "onPressOut" | "pressRetentionOffset" | "hasTVPreferredFocus" | "tvParallaxProperties" | "touchSoundDisabled" | "Component" | "containerStyle" | "title" | "right" | "textStyle" | "titleProps" | "iconRight" | "wrapperStyle" | "checked" | "onIconPress" | "onLongIconPress" | "checkedIcon" | "uncheckedIcon" | "iconType" | "checkedColor" | "uncheckedColor" | "checkedTitle" | "fontFamily">> | React.ForwardRefExoticComponent<TouchableOpacityProps & CheckBoxIconProps & {
|
33 | Component?: typeof React.Component;
|
34 | iconRight?: boolean;
|
35 | title?: string | React.ReactElement<{}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, 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;
|
46 |
|
\ | No newline at end of file |