chore(Accordion): type for items

Resolves #412
This commit is contained in:
Benjamin Canac
2023-07-17 11:25:59 +02:00
parent 908235e8dd
commit 2ec28e7cbd
2 changed files with 11 additions and 2 deletions

9
src/runtime/types/accordion.d.ts vendored Normal file
View File

@@ -0,0 +1,9 @@
import type { Button } from './button'
export interface AccordionItem extends Partial<Button> {
slot?: string
disabled?: boolean
content?: string
defaultOpen?: boolean
closeOthers?: boolean
}