31 lines
737 B
JavaScript
31 lines
737 B
JavaScript
'use client'
|
|
import {
|
|
useTabsStyles
|
|
} from "./chunk-GTRZJDIL.mjs";
|
|
import {
|
|
useTabPanel
|
|
} from "./chunk-NXSBASJ3.mjs";
|
|
|
|
// src/tab-panel.tsx
|
|
import { cx } from "@chakra-ui/shared-utils";
|
|
import { chakra, forwardRef } from "@chakra-ui/system";
|
|
import { jsx } from "react/jsx-runtime";
|
|
var TabPanel = forwardRef(function TabPanel2(props, ref) {
|
|
const panelProps = useTabPanel({ ...props, ref });
|
|
const styles = useTabsStyles();
|
|
return /* @__PURE__ */ jsx(
|
|
chakra.div,
|
|
{
|
|
outline: "0",
|
|
...panelProps,
|
|
className: cx("chakra-tabs__tab-panel", props.className),
|
|
__css: styles.tabpanel
|
|
}
|
|
);
|
|
});
|
|
TabPanel.displayName = "TabPanel";
|
|
|
|
export {
|
|
TabPanel
|
|
};
|
|
//# sourceMappingURL=chunk-KGTDXOFZ.mjs.map
|