1 | import * as React from 'react';
|
2 | import { View, ViewStyle, StyleProp } from 'react-native';
|
3 | import { IconSource } from '../Icon';
|
4 | declare type Props = React.ComponentPropsWithRef<typeof View> & {
|
5 | |
6 |
|
7 |
|
8 | icon: IconSource;
|
9 | |
10 |
|
11 |
|
12 | size?: number;
|
13 | |
14 |
|
15 |
|
16 | color?: string;
|
17 | style?: StyleProp<ViewStyle>;
|
18 | |
19 |
|
20 |
|
21 | theme: ReactNativePaper.Theme;
|
22 | };
|
23 | declare const _default: React.ComponentType<Pick<import("react-native").ViewProps & React.RefAttributes<View> & {
|
24 | |
25 |
|
26 |
|
27 | icon: IconSource;
|
28 | |
29 |
|
30 |
|
31 | size?: number | undefined;
|
32 | |
33 |
|
34 |
|
35 | color?: string | undefined;
|
36 | style?: StyleProp<ViewStyle>;
|
37 | |
38 |
|
39 |
|
40 | theme: ReactNativePaper.Theme;
|
41 | }, "color" | "size" | "icon" | keyof import("react-native").ViewProps | keyof React.RefAttributes<View>> & {
|
42 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
43 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<import("react-native").ViewProps & React.RefAttributes<View> & {
|
44 | |
45 |
|
46 |
|
47 | icon: IconSource;
|
48 | |
49 |
|
50 |
|
51 | size?: number | undefined;
|
52 | |
53 |
|
54 |
|
55 | color?: string | undefined;
|
56 | style?: StyleProp<ViewStyle>;
|
57 | |
58 |
|
59 |
|
60 | theme: ReactNativePaper.Theme;
|
61 | }> & {
|
62 | ({ icon, size, style, theme, ...rest }: Props): JSX.Element;
|
63 | displayName: string;
|
64 | }, {}>;
|
65 | export default _default;
|