UNPKG

@ithinkdt/naive

Version:

iThinkDT Naive UI

48 lines (43 loc) 1.23 kB
import { PropType, ExtractPublicPropTypes } from 'vue' import { checkboxGroupProps } from 'ithinkdt-ui' import { SimpleDefineComponent } from '@ithinkdt/common' import { DictOption, DictValueType } from '@ithinkdt/core' import type { CSSProperties } from 'vue' declare const checkboxsProps: typeof checkboxGroupProps & { options: { type: PropType<DictOption<RecordAny<string>, DictValueType>[]> required: false } vertical: { type: BooleanConstructor required: false } default: { type: PropType< | boolean | string | { label?: string value: string | number | null } > required: false } labelPadding: { type: PropType<CSSProperties['padding']> } labelField: { type: StringConstructor required: false } valueField: { type: StringConstructor required: false } disabledField: { type: StringConstructor required: false } } export type CheckboxsProps = ExtractPublicPropTypes<typeof checkboxsProps> export declare const NCheckboxs: SimpleDefineComponent<typeof checkboxsProps>