pref: change label type

This commit is contained in:
zy410419243 2018-12-06 08:28:31 +08:00 committed by 偏右
parent 6388410c1f
commit 5217a4809c

View File

@ -9,7 +9,7 @@ import Checkbox, { CheckboxChangeEvent } from './Checkbox';
export type CheckboxValueType = string | number | boolean;
export interface CheckboxOptionType {
label: string;
label: React.ReactNode;
value: CheckboxValueType;
disabled?: boolean;
onChange?: (e: CheckboxChangeEvent) => void;