@hugeicons/react-native
Version:
Hugeicons React Native Component Library https://hugeicons.com
19 lines (18 loc) • 720 B
TypeScript
import { ForwardRefExoticComponent, RefAttributes } from 'react';
import { Svg, SvgProps } from 'react-native-svg';
import { StyleProp, ViewStyle } from 'react-native';
export type IconSvgElement = readonly (readonly [string, {
readonly [key: string]: string | number;
}])[];
export interface HugeiconsProps extends SvgProps {
size?: string | number;
strokeWidth?: number;
absoluteStrokeWidth?: boolean;
className?: string;
style?: StyleProp<ViewStyle>;
icon: IconSvgElement;
altIcon?: IconSvgElement;
showAlt?: boolean;
}
export type HugeiconsIconComponent = ForwardRefExoticComponent<HugeiconsProps & RefAttributes<Svg>>;
export declare const HugeiconsIcon: HugeiconsIconComponent;