UNPKG

@carton-org/react-neumorphism

Version:

A React component library implementing the neumorphism design style

15 lines (14 loc) 417 B
import { jsx as s } from "@emotion/react/jsx-runtime"; import { withTheme as i } from "@emotion/react"; import { forwardRef as x } from "react"; import { StyledBox as p } from "./box.styles.js"; const a = x(({ inset: o = !1, size: r = "sm", children: t, boxStyle: e, ...m }, f) => /* @__PURE__ */ s(p, { ref: f, $inset: o, $size: r, $boxStyle: e, ...m, children: t })), B = i(a); export { B as default };