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.ComponentClass<Pick<Props, "source" | "color" | "size" | "allowFontScaling"> & {
|
25 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
26 | }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & (({ source, color, size, theme, ...rest }: Props) => any)) | (React.FunctionComponent<Props> & (({ source, color, size, theme, ...rest }: Props) => any)), {}>) | (React.FunctionComponent<Pick<Props, "source" | "color" | "size" | "allowFontScaling"> & {
|
27 | theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
|
28 | }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & (({ source, color, size, theme, ...rest }: Props) => any)) | (React.FunctionComponent<Props> & (({ source, color, size, theme, ...rest }: Props) => any)), {}>);
|
29 | export default _default;
|
30 |
|
\ | No newline at end of file |