mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-15 17:31:43 +08:00
36 lines
839 B
TypeScript
36 lines
839 B
TypeScript
|
// Project: https://github.com/vueComponent/ant-design-vue
|
||
|
// Definitions by: akki-jat <https://github.com/akki-jat>
|
||
|
// Definitions: https://github.com/vueComponent/ant-design-vue/types
|
||
|
|
||
|
import { AntdComponent } from "../component";
|
||
|
|
||
|
export declare class CheckboxGroup extends AntdComponent {
|
||
|
/**
|
||
|
* Default selected value
|
||
|
* @type string[]
|
||
|
*/
|
||
|
defaultValue: string[];
|
||
|
|
||
|
/**
|
||
|
* Disable all checkboxes
|
||
|
* @default false
|
||
|
* @type boolean
|
||
|
*/
|
||
|
disabled: boolean;
|
||
|
|
||
|
/**
|
||
|
* Specifies options
|
||
|
* @type Array<string | { label: string, value: string, disabled?: boolean, onChange?: Function }>
|
||
|
*/
|
||
|
options: Array<
|
||
|
| string
|
||
|
| { label: string; value: string; disabled?: boolean; onChange?: Function }
|
||
|
>;
|
||
|
|
||
|
/**
|
||
|
* Used for setting the currently selected value.
|
||
|
* @type string[]
|
||
|
*/
|
||
|
value: string[];
|
||
|
}
|