1 | import * as React from 'react';
|
2 | import { StyleProp, TextStyle, ViewStyle } from 'react-native';
|
3 | declare type Props = {
|
4 | |
5 |
|
6 |
|
7 | status: 'checked' | 'unchecked' | 'indeterminate';
|
8 | |
9 |
|
10 |
|
11 | disabled?: boolean;
|
12 | |
13 |
|
14 |
|
15 | label: string;
|
16 | |
17 |
|
18 |
|
19 | onPress?: () => void;
|
20 | |
21 |
|
22 |
|
23 | uncheckedColor?: string;
|
24 | |
25 |
|
26 |
|
27 | color?: string;
|
28 | |
29 |
|
30 |
|
31 | style?: StyleProp<ViewStyle>;
|
32 | |
33 |
|
34 |
|
35 | labelStyle?: StyleProp<TextStyle>;
|
36 | |
37 |
|
38 |
|
39 | theme: ReactNativePaper.Theme;
|
40 | |
41 |
|
42 |
|
43 | testID?: string;
|
44 | |
45 |
|
46 |
|
47 | position?: 'leading' | 'trailing';
|
48 | |
49 |
|
50 |
|
51 |
|
52 | mode?: 'android' | 'ios';
|
53 | };
|
54 | declare const _default: React.ComponentType<Pick<Props, "label" | "style" | "color" | "onPress" | "testID" | "position" | "mode" | "labelStyle" | "disabled" | "status" | "uncheckedColor"> & {
|
55 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
56 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & {
|
57 | ({ style, status, label, onPress, labelStyle, theme, testID, mode, position, disabled, ...props }: Props): JSX.Element;
|
58 | displayName: string;
|
59 | }, {}>;
|
60 | export default _default;
|
61 | declare const CheckboxItemWithTheme: React.ComponentType<Pick<Props, "label" | "style" | "color" | "onPress" | "testID" | "position" | "mode" | "labelStyle" | "disabled" | "status" | "uncheckedColor"> & {
|
62 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
63 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & {
|
64 | ({ style, status, label, onPress, labelStyle, theme, testID, mode, position, disabled, ...props }: Props): JSX.Element;
|
65 | displayName: string;
|
66 | }, {}>;
|
67 | export { CheckboxItemWithTheme as CheckboxItem };
|