import type { BaseWidgets } from '../../../type'

export type AccordionColumns = {
  span: string
  idKey: string
  list: BaseWidgets[]
  isOpen: string | boolean
}
export type AccordionWidgets = {
  name: string
  isLayout: boolean
  ctrlType: string
  icon: string
  desc: string
  columns: AccordionColumns[]
  options: {
    gutter: number
    justify: string
    align: string
    nextCheck: string
    accordion: string | number
    activeNames: string[] | []
  }
  key: stirng
}
