collapse-item.d.ts 552 B

1234567891011121314151617181920212223242526
  1. import { VNode } from 'vue'
  2. import { ElementUIComponent } from './component'
  3. export interface CollapseItemSlots {
  4. /** Content of the collapse item */
  5. default: VNode[],
  6. /** Title of the collapse item */
  7. title: VNode[]
  8. [key: string]: VNode[]
  9. }
  10. /** Collapse Item Component */
  11. export declare class ElCollapseItem extends ElementUIComponent {
  12. /** Unique identification of the panel */
  13. name: string | number
  14. /** Title of the panel */
  15. title: string
  16. $slots: CollapseItemSlots
  17. /** Disable the collapse item */
  18. disabled: boolean
  19. }