UNPKG

617 BTypeScriptView Raw
1export declare type IconProps = {
2 name: string;
3 color: string;
4 size: number;
5 direction: 'rtl' | 'ltr';
6 allowFontScaling?: boolean;
7};
8export declare const accessibilityProps: {
9 role: string;
10 focusable: boolean;
11 accessibilityElementsHidden?: undefined;
12 importantForAccessibility?: undefined;
13} | {
14 accessibilityElementsHidden: boolean;
15 importantForAccessibility: "no-hide-descendants";
16 role?: undefined;
17 focusable?: undefined;
18};
19declare const defaultIcon: ({ name, color, size, direction, allowFontScaling, }: IconProps) => JSX.Element;
20export default defaultIcon;