@bothub-chat/ui
Version:
Bothub UI Components
2 lines (1 loc) • 427 B
JavaScript
import{__rest as r}from"tslib";import{jsx as i}from"react/jsx-runtime";import{StyleSheetManager as t}from"styled-components";import{BothubStyleSheetDashboardPlugin as n,BothubStyleSheetMainPlugin as o}from"./plugin/index.js";const s=s=>{var{children:a,variant:e="dashboard"}=s,m=r(s,["children","variant"]);return i(t,Object.assign({},m,{stylisPlugins:["dashboard"===e?n:o],children:a}))};export{s as BothubStyleSheetManager};