UNPKG

@ithinkdt/naive

Version:

iThinkDT Naive UI

27 lines (23 loc) 738 B
import { PropType, ExtractPublicPropTypes } from 'vue' import { SimpleDefineComponent } from '@ithinkdt/common' declare const selectionProps: { mode: { type: PropType<'all' | 'selection'> required: true } selection: { // eslint-disable-next-line @typescript-eslint/no-explicit-any type: PropType<number | any[]> required: false } 'onUpdate:mode': { type: PropType<(mode: 'all' | 'selection') => void> required: false } onClear: { type: PropType<() => void> required: false } } export type SelectionProps = ExtractPublicPropTypes<typeof selectionProps> export declare const DtSelection: SimpleDefineComponent<typeof selectionProps>