TAlways
type
Misc
Tri-state boolean prop pattern — forces a value always on, always off, or defers to the component default.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- false
- Force the behaviour off.
- true
- Force the behaviour on.
- always
- Keep the behaviour active unconditionally, even in states that would normally suppress it (e.g. hover-only).
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
SliderField with ticks always visible vs on thumb only