UNPKG

716 BTypeScriptView Raw
1import * as React from 'react';
2import { Role } from 'react-native';
3export declare type IconProps = {
4 name: string;
5 color?: string;
6 size: number;
7 direction: 'rtl' | 'ltr';
8 allowFontScaling?: boolean;
9 testID?: string;
10};
11declare type AccessibilityProps = {
12 role?: Role;
13 focusable?: boolean;
14} | {
15 accessibilityElementsHidden?: boolean;
16 importantForAccessibility?: 'auto' | 'yes' | 'no' | 'no-hide-descendants';
17};
18export declare const accessibilityProps: AccessibilityProps;
19declare const defaultIcon: ({ name, color, size, direction, allowFontScaling, testID, }: IconProps) => React.JSX.Element;
20export default defaultIcon;
21//# sourceMappingURL=MaterialCommunityIcon.d.ts.map
\No newline at end of file