UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

2 lines (1 loc) 469 B
import{jsx as t}from"react/jsx-runtime";import{NotificationsStyled as i,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:n})=>t(r,{isInNotificationList:!0,children:t(e,{children:t(i,{className:s,children:t(o,{children:n})})})});export{s as Notifications,r as NotificationsProvider};