Props
| Prop | Type | Default | Description |
|---|---|---|---|
spec | IWireframeSpec | required | The layout: { tone?, rows: IWireframeColumn[][] } |
label | string | undefined | Accessible name. Without it the drawing is decorative |
Types
ts
interface IWireframeSpec {
tone?: 'light' | 'dark'
rows: IWireframeColumn[][]
}
interface IWireframeColumn {
span?: number // of 12, defaults to an equal share of the row
parts: string[] // e.g. 'title', 'cards:3'
align?: 'start' | 'center' | 'end'
}