1 | import * as React from 'react';
|
2 | import { ImageSourcePropType } from 'react-native';
|
3 | declare type IconSourceBase = string | ImageSourcePropType;
|
4 | export declare type IconSource = IconSourceBase | Readonly<{
|
5 | source: IconSourceBase;
|
6 | direction: 'rtl' | 'ltr' | 'auto';
|
7 | }> | ((props: IconProps & {
|
8 | color: string;
|
9 | }) => React.ReactNode);
|
10 | declare type IconProps = {
|
11 | size: number;
|
12 | allowFontScaling?: boolean;
|
13 | };
|
14 | declare type Props = IconProps & {
|
15 | color?: string;
|
16 | source: any;
|
17 | |
18 |
|
19 |
|
20 | theme: ReactNativePaper.Theme;
|
21 | };
|
22 | export declare const isValidIcon: (source: any) => boolean;
|
23 | export declare const isEqualIcon: (a: any, b: any) => boolean;
|
24 | declare const _default: React.ComponentType<Pick<IconProps & {
|
25 | color?: string | undefined;
|
26 | source: any;
|
27 | |
28 |
|
29 |
|
30 | theme: ReactNativePaper.Theme;
|
31 | }, "source" | "color" | keyof IconProps> & {
|
32 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
33 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<IconProps & {
|
34 | color?: string | undefined;
|
35 | source: any;
|
36 | |
37 |
|
38 |
|
39 | theme: ReactNativePaper.Theme;
|
40 | }> & (({ source, color, size, theme, ...rest }: Props) => any), {}>;
|
41 | export default _default;
|
42 |
|
\ | No newline at end of file |