@cerberus-design/react
Version:
The Cerberus Design React component library.
25 lines (23 loc) • 533 B
JavaScript
import {
cerberus
} from "./chunk-YJRAJNYI.js";
// src/components/theme/theme.tsx
import { jsx } from "react/jsx-runtime";
function Theme(props) {
const { mode, theme, ...nativeProps } = props;
const colorMode = mode || "light";
const themeName = theme || "cerberus";
return /* @__PURE__ */ jsx(
cerberus.div,
{
...nativeProps,
"data-panda-theme": themeName,
"data-color-mode": colorMode,
children: props.children
}
);
}
export {
Theme
};
//# sourceMappingURL=chunk-K3YEOS6O.js.map