UNPKG

@aotearoan/neon

Version:

Neon is a lightweight design library of Vue 3 components with minimal dependencies.

15 lines (14 loc) 424 B
/** * Model describing an alert action. An alert action is a button in an alert notification allowing the user to make * simple actions without changing context. */ export interface NeonAlertAction { /** * Label of the action button. Keep it short! ~9 chars is the limit. */ label: string; /** * Callback function - called when the user triggers the action. */ callback: () => void; }