UNPKG

@hugeicons/react-native

Version:

Hugeicons React Native Component Library https://hugeicons.com

22 lines (19 loc) 776 B
import { ForwardRefExoticComponent, RefAttributes } from 'react'; import { SvgProps, Svg } from 'react-native-svg'; import { StyleProp, ViewStyle } from 'react-native'; type IconSvgElement = readonly (readonly [string, { readonly [key: string]: string | number; }])[]; interface HugeiconsProps extends SvgProps { size?: string | number; strokeWidth?: number; absoluteStrokeWidth?: boolean; className?: string; style?: StyleProp<ViewStyle>; icon: IconSvgElement; altIcon?: IconSvgElement; showAlt?: boolean; } type HugeiconsIconComponent = ForwardRefExoticComponent<HugeiconsProps & RefAttributes<Svg>>; declare const HugeiconsIcon: HugeiconsIconComponent; export { HugeiconsIcon, HugeiconsIconComponent, HugeiconsProps, IconSvgElement };