import * as React from "react"; import { ConfigConsumerProps } from "../Config"; export interface ICheckableTagProps { /** * 样式前缀 * * @default 'lg' **/ prefixCls?: string; /** * 自定义class * * @default '' **/ className?: string; /** * 自定义样式 * * @default '' **/ style?: React.CSSProperties; /** * 初始是否默认选中 * * @default **/ checked: boolean; /** * change时回调 * * **/ onChange?: (checked: boolean) => void; } interface IState { checked: boolean; } export default class CheckableTag extends React.PureComponent { constructor(props: any); componentWillReceiveProps(nextProps: any): void; handleClick: () => void; renderCheckableTag: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; } export {};