
import { BaseSetter } from "@/page/App/components/InspectPanel/PanelSetters/interface"
import { PanelFieldConfig } from "@/page/App/components/InspectPanel/interface"
import { ComponentMapNode } from "@/utils/generators/interface"

export interface ViewItemShape {
  id: string
  key: string
  label: string
  disabled?: string
  hidden?: string
  xs?:number
  sm?:number,
  md?:number,
  lg?:number
}

export interface ViewSetterProps extends BaseSetter {
  value: ViewItemShape[]
  childrenSetter?: PanelFieldConfig[]
  componentNode: ComponentMapNode
}

export interface DragIconAndLabelProps {
  index: number
  label?: string
  isSelected: boolean
}
