@bothub-chat/ui
Version:
Bothub UI Components
2 lines (1 loc) • 499 B
JavaScript
import{jsx as i}from"react/jsx-runtime";import{NotificationsStyled as t,NotificationList as o}from"./styled.js";import{NotificationsProvider as r}from"./context.js";export{NotificationsContext,useNotifications}from"./context.js";import{Portal as e}from"../../portal/index.js";const s=({className:s,children:a,"aria-label":n})=>i(r,{isInNotificationList:!0,children:i(e,{children:i(t,{className:s,"aria-label":n,children:i(o,{children:a})})})});export{s as Notifications,r as NotificationsProvider};