Global

Members

InputState.<number>

# constant DEFAULT_INPUT_STATE_NUMBER

View Source components/input/InputBase.tsx, line 13

InputState.<string>

# constant DEFAULT_INPUT_STATE_STRING

View Source components/input/InputBase.tsx, line 6

# constant InputWrapper

Input Wrapper Component
Author:

View Source components/input/InputBase.tsx, line 48

Methods

# addNotification(notification)

Add a notification to the store
Parameters:
Name Type Description
notification NotificationProps
Author:

View Source utils/notificationStore.ts, line 19

# getNotifications() → {Array.<NotificationProps>}

Get all notifications.
Author:

View Source utils/notificationStore.ts, line 41

array of notifications
Array.<NotificationProps>

# removeNotification(index) → {NotificationProps}

Remove a notification given its index
Parameters:
Name Type Description
index number notification index
Author:

View Source utils/notificationStore.ts, line 29

the notificaion that was removed from the store

# typeToClassName(type) → {"is-success"|"is-info"|"is-warning"|"is-danger"|"is-primary"}

Get the css class name for a given notification type.
Parameters:
Name Type Description
type "success" | "info" | "warning" | "error" | undefined notification type
Author:

View Source components/notification/Notification.tsx, line 9

type of string
"is-success" | "is-info" | "is-warning" | "is-danger" | "is-primary"

Type Definitions

# onDissmiss() → {void}

Callback for onDismiss event
Author:

View Source components/notification/Notification.tsx, line 40

void