UNPKG

fui-fancyui

Version:
11 lines (10 loc) 382 B
import { default as React } from 'react'; type THTMLButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & { as?: 'button'; }; type THTMLAnchorProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & { as: 'a'; }; type TActionWrapperProps = THTMLButtonProps | THTMLAnchorProps; declare const ActionWrapper: React.FC<TActionWrapperProps>; export default ActionWrapper;