UNPKG

react-box-tools

Version:

Box tools react components, utils and hooks

2 lines (1 loc) 335 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),l=require("./clsx-CeOg4f1g.cjs"),n=e=>{const{show:r,backdrop:s=!0,className:t,children:c,...o}=e;return a.jsx("div",{...o,className:l.clsx(`overlay ${r&&"show"} ${s&&"backdrop"} ${t}`),children:c})};exports.Overlay=n;