UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

2 lines (1 loc) 555 B
import{__rest as l}from"tslib";import{jsx as e,jsxs as i,Fragment as n}from"react/jsx-runtime";import{SectionContainer as r,SectionContent as t,SectionStyled as g}from"./styled.js";const s=s=>{var{disableContainer:h=!1,bg:b=null,bgLines:o=!1,fullHeight:u=!1,children:c}=s,d=l(s,["disableContainer","bg","bgLines","fullHeight","children"]);let f,a;return f=h?c:e(r,{$fullHeight:u,children:c}),a=null===b?f:i(n,{children:[b,e(t,{$fullHeight:u,children:f})]}),e(g,Object.assign({$bg:null!==b,$bgLines:o,$fullHeight:u},d,{children:a}))};export{s as Section};