UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

14 lines 1.12 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.TableRowStandAlone = void 0; const jsx_runtime_1 = require("react/jsx-runtime"); const react_1 = __importDefault(require("react")); const tableRow_styled_1 = require("./tableRow.styled"); const TableRowStandAloneComponent = ({ dataTestId = 'table-row', children, styles, id, active, hoverable = true, role, tabIndex, component, onClick, onKeyDown, onMouseEnter, onMouseLeave, }, ref) => { return ((0, jsx_runtime_1.jsx)(tableRow_styled_1.TRStyled, { ref: ref, "data-table-row": true, "$styles": styles, as: component, "data-active": active, "data-hoverable": hoverable, "data-testid": dataTestId, id: id, role: role, tabIndex: tabIndex, onClick: onClick, onKeyDown: onKeyDown, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: children })); }; exports.TableRowStandAlone = react_1.default.forwardRef(TableRowStandAloneComponent); //# sourceMappingURL=tableRowStandAlone.js.map