@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
14 lines (13 loc) • 402 B
TypeScript
/**
* Model to use with <a href="/user-input/toggle">NeonToggle</a> for defining radio button & toggle control items.
*/
export interface NeonToggleModel {
/** Unique key of toggle item. */
key: string;
/** Display label of toggle item. */
label?: string;
/** Icon of toggle item. */
icon?: string;
/** Boolean indicating if item is disabled. */
disabled?: boolean;
}