TBlock

type
Layout

Boolean prop on OrigamBtn that makes the button stretch to fill 100% of its container width.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Accepted

Values

Accepted string literal values for this type. Click a value to copy it.

top
true
The button expands to full container width (width: 100%; display: flex).
bottom
false
Default behaviour — the button sizes itself to its content.

Ecosystem

Used by

Components and props that accept this type as a value.

Usage

Examples

Ready-to-paste code snippets using this type.

Full-width block button

html