IControlProps
interface
Form & Input
Minimal prop shape for standalone icon-button controls (clear, visibility-toggle, counter actions). Requires an icon, a class string, and an accessible aria-label.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- iconrequiredTIcon
- Icon identifier — MDI name, URL, or component — shown inside the control button.
- classrequiredstring
- CSS class applied to the control root element.
- 'aria-label'requiredstring
Usage
Examples
Ready-to-paste code snippets using this interface.
Passing IControlProps to a field clear button