Esc
Documentation
On this page

Props

PropTypeDefaultDescription
columns requiredreadonly ColumnsColumn[]NoneColumn definitions. Each has weight? (relative width) and content.

Example

ts
Columns({
  columns: [
    { weight: 2, content: Table({ source: left() }) },
    { weight: 1, content: Card({ content: Value({ source: right(), field: "x" }) }) },
  ],
})

Supporting types

ColumnsColumn
export interface ColumnsColumn {
  weight?: number;
  content: PageNode | readonly PageNode[];
}

View the source on GitHub