GridLayout (deprecated)

The grid layout system based on react-grid-layout

L4SLB Dashboard

Usage

export interface IGridLayoutProps {
  gridLayout: string
  width?: number
  rowHeight?: number
  autoSize?: boolean
  verticalCompact?: boolean
  compactType?: 'vertical' | 'horizontal'
  margin?: [number, number]
  containerPadding?: [number, number]
  isDraggable?: boolean
  isResizable?: boolean
  useCSSTransforms?: boolean
  preventCollision?: boolean
  breakpoints?: Breakpoints
  numOfCols?: Breakpoints
  withChartCanvasStyle?: boolean
  rows: IRowProps[]
}
export interface IRowProps {
  heading?: string
  icon?: string
  numOfCols?: number
  rowHeight?: number
  isDraggable?: boolean
  isResizable?: boolean
  className?: string
  cols?: IRowColProps[]
  viz?: IVizProps
}
export interface IRowColProps {
  viz: IVizProps[]
  widthUnits?: number
  heightUnits?: number
  width?: number | string
  height?: number | string
  minWidth?: number | string
  minHeight?: number | string
  maxWidth?: number | string
  maxHeight?: number | string
  static?: boolean
  isDraggable?: boolean
  isResizable?: boolean
  style?: React.CSSProperties
  className?: string
}

TBD

Last updated

Was this helpful?