UNPKG

zmp-react

Version:

Build full featured iOS & Android apps using ZMP & React

30 lines (24 loc) 650 B
import * as React from 'react'; import { Icon } from 'zmp-core/types'; interface IconProps { slot?: string; id?: string | number; className?: string; style?: React.CSSProperties; zmp ?: Icon.IconZMP; tooltip ?: string; tooltipTrigger ?: string; size ?: string | number; onClick ?: (event?: any) => void; color?: string; colorTheme?: string; textColor?: string; bgColor?: string; borderColor?: string; rippleColor?: string; themeDark?: boolean; ref?: React.MutableRefObject<{el: HTMLElement | null}>; children?: React.ReactNode; } declare const Icon: React.FunctionComponent<IconProps>; export default Icon;