UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

2 lines (1 loc) 644 B
import{__rest as l}from"tslib";import{jsx as e}from"react/jsx-runtime";import r from"react";import{TableStyled as t,TableScrollbarWrapper as o,TableContent as d}from"./styled.js";export{TableBody,TableHead,TableRow}from"./styled.js";export{TableCellSkeleton,TableCellStyled,TableCellText}from"./cell/styled.js";const s=s=>{var{scrollShadows:i,children:a,fullWidth:c}=s,h=l(s,["scrollShadows","children","fullWidth"]);return 0===r.Children.toArray(a).length?null:e(t,Object.assign({},h,{children:e(o,{scrollShadows:i,children:e(d,{$fullWidth:c,children:a})})}))};export{s as Table,d as TableContent,o as TableScrollbarWrapper,t as TableStyled};