Skip to main content

Function: useBannerNotifications()

useBannerNotifications(): object

Defined in: src/recipes/useBannerNotifications.tsx:6

Returns

object

addBannerNotification()

addBannerNotification: (payload) => object

Parameters

payload

BannerContent

Returns

object

bannerNotifications

bannerNotifications: Notification<BannerContent>[]

dismissNotification()

dismissNotification: (id) => void

Parameters

id

string

Returns

void