UNPKG

@guruhotel/aura-ui

Version:

⚛️ React UI library by GuruHotel

1 lines 727 B
var r=require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule=!0,exports.default=void 0;r(require("react"));var e=require("../scroll-area"),l=require("react/jsx-runtime");var o=({width:r="100%",height:o=500,as:i,children:t})=>"infinite"===i?(0,l.jsxs)(e.ScrollArea,{type:"scroll",css:{width:r,height:o},children:[(0,l.jsx)(e.ScrollAreaViewport,{css:{backgroundColor:"white"},children:t}),(0,l.jsx)(e.ScrollAreaScrollbar,{orientation:"vertical",children:(0,l.jsx)(e.ScrollAreaThumb,{})}),(0,l.jsx)(e.ScrollAreaScrollbar,{orientation:"horizontal",children:(0,l.jsx)(e.ScrollAreaThumb,{})}),(0,l.jsx)(e.ScrollAreaCorner,{})]}):(0,l.jsx)(l.Fragment,{children:t});exports.default=o,module.exports=exports.default;