UNPKG

fui-fancyui

Version:
16 lines (15 loc) 330 B
type TAnchorProps = { type?: 'a'; href?: string; onClick?: () => void; }; type TButton = { type: 'button'; onClick?: () => void; href?: string; }; export type TComponentAndActionWrapper = { WrapperComponent?: React.ReactElement; children?: React.ReactNode; } & (TAnchorProps | TButton); export {};