mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
pref: change label type
This commit is contained in:
parent
6388410c1f
commit
5217a4809c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user