UNPKG

776 BTypeScriptView Raw
1import * as React from 'react';
2import { IconSource } from './Icon';
3declare type Props = {
4 /**
5 * Icon to display for the `CrossFadeIcon`.
6 */
7 source: IconSource;
8 /**
9 * Color of the icon.
10 */
11 color: string;
12 /**
13 * Size of the icon.
14 */
15 size: number;
16 /**
17 * @optional
18 */
19 theme: ReactNativePaper.Theme;
20};
21declare const _default: React.ComponentType<Pick<Props, "source" | "color" | "size"> & {
22 theme?: import("@callstack/react-theme-provider").$DeepPartial<ReactNativePaper.Theme> | undefined;
23}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<Props> & (({ color, size, source, theme }: Props) => JSX.Element), {}>;
24export default _default;
25
\No newline at end of file