UNPKG

@fruits-chain/react-native-xiaoshu

Version:
17 lines (16 loc) 511 B
import React from 'react'; import type { ThemeVarType } from '../../theme'; import type { IconCommonProps } from '../interface'; declare type OutlineRender = (color: string, props: { themeVar: ThemeVarType; disabled?: boolean; }) => React.ReactNode; declare type GenIconOption = { render: OutlineRender; size?: 'default' | 'small'; }; /** * 生成一个 Outline 类型的 icon 组件 */ export declare const genIcon: ({ render, size, }: GenIconOption) => React.FC<IconCommonProps>; export {};