UNPKG

@yamada-ui/native-table

Version:

Yamada UI native table component

31 lines (29 loc) 650 B
"use client" import { useTableStyles } from "./chunk-JZWD7PGB.mjs"; // src/thead.tsx import { forwardRef, ui } from "@yamada-ui/core"; import { cx } from "@yamada-ui/utils"; import { jsx } from "react/jsx-runtime"; var Thead = forwardRef( ({ className, ...rest }, ref) => { const styles = useTableStyles(); const css = { ...styles.thead }; return /* @__PURE__ */ jsx( ui.thead, { ref, className: cx("ui-table__thead", className), __css: css, ...rest } ); } ); Thead.displayName = "Thead"; Thead.__ui__ = "Thead"; export { Thead }; //# sourceMappingURL=chunk-LYMHYONQ.mjs.map