UNPKG

668 BTypeScriptView Raw
1import * as React from 'react';
2import { IconSource } from './Icon';
3import type { ThemeProp } from '../types';
4declare type Props = {
5 /**
6 * Icon to display for the `CrossFadeIcon`.
7 */
8 source: IconSource;
9 /**
10 * Color of the icon.
11 */
12 color: string;
13 /**
14 * Size of the icon.
15 */
16 size: number;
17 /**
18 * TestID used for testing purposes
19 */
20 testID?: string;
21 /**
22 * @optional
23 */
24 theme?: ThemeProp;
25};
26declare const CrossFadeIcon: ({ color, size, source, theme: themeOverrides, testID, }: Props) => React.JSX.Element;
27export default CrossFadeIcon;
28//# sourceMappingURL=CrossFadeIcon.d.ts.map
\No newline at end of file