UNPKG

@chief-editor/ui

Version:

UI Component for chief editor

10 lines (9 loc) 390 B
/// <reference types="react" /> import { UnionOmit } from '@co-hooks/util'; import { IButtonProps } from './Button'; export interface ICheckableButton { checked: boolean; onChange: (checked: boolean) => void; } export declare type ICheckableButtonProps = UnionOmit<ICheckableButton, IButtonProps>; export declare function CheckableButton(props: ICheckableButtonProps): JSX.Element;