@bothub-chat/ui
Version:
Bothub UI Components
2 lines (1 loc) • 751 B
JavaScript
import{__rest as r}from"tslib";import{jsx as o}from"react/jsx-runtime";import{MessageButtonsStyled as s,MessageButtonsScrollbarWrapper as t,MessageButtonsContent as e}from"./styled.js";import"react";import"../../../scrollbar/styled.js";import{ScrollbarShadow as l}from"../../../scrollbar/shadow/index.js";import"../../../scrollbar/style/styled.js";import"../../../../theme/index.js";import{useTheme as i}from"../../../../theme/hook.js";const c=c=>{var{scrollShadows:m,children:d}=c,a=r(c,["scrollShadows","children"]);const h=i();return o(s,Object.assign({},a,{children:o(t,{scrollShadows:Object.assign({color:h.colors.grayScale.gray4,left:o(l,{side:"left"}),right:o(l,{side:"right"})},m),children:o(e,{children:d})})}))};export{c as MessageButtons};