UNPKG

@uiw/react-native

Version:
21 lines (20 loc) 532 B
/// <reference types="react" /> import { SvgProps } from 'react-native-svg'; import svgPaths from '@uiw/icons/fonts/w-icon.json'; export declare type IconsName = keyof typeof svgPaths; export interface IconsProps extends SvgProps { name?: IconsName; size?: number; fill?: string; stroke?: string; /** * SVG path d=`paths` */ paths?: string[]; /** * Svg 图标字符串 */ xml?: string; } declare const _default: (props: IconsProps) => JSX.Element | null; export default _default;