mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
fix(Accordion): improve items type (#2487)
This commit is contained in:
2
src/runtime/types/accordion.d.ts
vendored
2
src/runtime/types/accordion.d.ts
vendored
@@ -3,7 +3,7 @@ import type { Button } from './button'
|
||||
export interface AccordionItem extends Button {
|
||||
slot?: string
|
||||
disabled?: boolean
|
||||
content?: string
|
||||
content?: string | string[] | object | object[]
|
||||
defaultOpen?: boolean
|
||||
closeOthers?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user