1 | import * as React from 'react';
|
2 | import { View, ViewStyle, StyleProp, TextStyle } from 'react-native';
|
3 | declare type Props = React.ComponentPropsWithRef<typeof View> & {
|
4 | |
5 |
|
6 |
|
7 | label: string;
|
8 | |
9 |
|
10 |
|
11 | size?: number;
|
12 | |
13 |
|
14 |
|
15 | color?: string;
|
16 | |
17 |
|
18 |
|
19 | style?: StyleProp<ViewStyle>;
|
20 | |
21 |
|
22 |
|
23 | labelStyle?: StyleProp<TextStyle>;
|
24 | |
25 |
|
26 |
|
27 | theme: ReactNativePaper.Theme;
|
28 | };
|
29 | declare const _default: React.ComponentType<Pick<import("react-native").ViewProps & React.RefAttributes<View> & {
|
30 | |
31 |
|
32 |
|
33 | label: string;
|
34 | |
35 |
|
36 |
|
37 | size?: number | undefined;
|
38 | |
39 |
|
40 |
|
41 | color?: string | undefined;
|
42 | |
43 |
|
44 |
|
45 | style?: StyleProp<ViewStyle>;
|
46 | |
47 |
|
48 |
|
49 | labelStyle?: StyleProp<TextStyle>;
|
50 | |
51 |
|
52 |
|
53 | theme: ReactNativePaper.Theme;
|
54 | }, "label" | "color" | "size" | keyof import("react-native").ViewProps | keyof React.RefAttributes<View> | "labelStyle"> & {
|
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<import("react-native").ViewProps & React.RefAttributes<View> & {
|
57 | |
58 |
|
59 |
|
60 | label: string;
|
61 | |
62 |
|
63 |
|
64 | size?: number | undefined;
|
65 | |
66 |
|
67 |
|
68 | color?: string | undefined;
|
69 | |
70 |
|
71 |
|
72 | style?: StyleProp<ViewStyle>;
|
73 | |
74 |
|
75 |
|
76 | labelStyle?: StyleProp<TextStyle>;
|
77 | |
78 |
|
79 |
|
80 | theme: ReactNativePaper.Theme;
|
81 | }> & {
|
82 | ({ label, size, style, theme, labelStyle, color: customColor, ...rest }: Props): JSX.Element;
|
83 | displayName: string;
|
84 | }, {}>;
|
85 | export default _default;
|