UNPKG

@frontify/fondue

Version:
24 lines (23 loc) 585 B
import { jsx as o } from "react/jsx-runtime"; import { useRef as t } from "react"; const l = ({ isSelected: r = !1, children: e }) => { const a = t(null); return /* @__PURE__ */ o( "tr", { ...{ "aria-selected": r, role: "row" }, ref: a, className: "tw-relative tw-border-t tw-border-black-10 hover:tw-bg-black-0 dark:tw-border-black-95 dark:hover:tw-bg-black-95", "data-test-id": "table-row", children: e } ); }; l.displayName = "FondueTableRow"; export { l as TableRow }; //# sourceMappingURL=TableRow.es.js.map