@ithinkdt/naive
Version:
iThinkDT Naive UI
27 lines (22 loc) • 690 B
TypeScript
/* eslint-disable @typescript-eslint/no-explicit-any */
import { ExtractPublicPropTypes, PropType } from 'vue'
import { SimpleDefineComponent } from '@ithinkdt/common'
declare const suffixProps: {
deletable: {
type: Boolean
required: false
}
modifiable: {
type: Boolean
required: false
}
creatable: {
type: Boolean
required: false
}
onCreate: PropType<MaybeArray<() => any>>
onModify: PropType<MaybeArray<() => any>>
onDelete: PropType<MaybeArray<() => any>>
}
export type SuffixProps = ExtractPublicPropTypes<typeof suffixProps>
export declare const NSuffix: SimpleDefineComponent<typeof suffixProps>