UNPKG

@chief-editor/ui

Version:

UI Component for chief editor

9 lines (8 loc) 359 B
import { UnionOmit } from '@co-hooks/util'; import { AnchorHTMLAttributes, MouseEvent } from 'react'; export interface ILink { disabled?: boolean; onClick?: (e: MouseEvent<HTMLElement>) => void; } export declare type ILinkProps = UnionOmit<ILink, AnchorHTMLAttributes<HTMLAnchorElement>>; export declare function Link(props: ILinkProps): JSX.Element;