ILoaderProps
interface
Feedback & Status
Loading-state contract — extends common, tag and color props with a polymorphic loading flag and an accessible loading text.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- loadingTLoadingValue
- Controls the loading indicator: false hides it, true or a string shows a determinate/indeterminate loader.
- loadingTextstring
- Accessible label announced to screen readers while the loading state is active.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Button with a loading spinner