| 1 |
"use strict"; |
| 2 |
Object.defineProperty(exports, "__esModule", { value: true }); |
| 3 |
exports.DraggableCell = void 0; |
| 4 |
const tslib_1 = require("tslib"); |
| 5 |
const jsx_runtime_1 = require("react/jsx-runtime"); |
| 6 |
const rh_ui_grip_vertical_fill_icon_1 = tslib_1.__importDefault(require('@patternfly/react-icons/dist/js/icons/rh-ui-grip-vertical-fill-icon')); |
| 7 |
const Button_1 = require('@patternfly/react-core/dist/js/components/Button'); |
| 8 |
const DraggableCell = (_a) => { |
| 9 |
var { className, onClick, 'aria-label': ariaLabel, id } = _a, props = tslib_1.__rest(_a, ["className", "onClick", 'aria-label', "id"]); |
| 10 |
return ((0, jsx_runtime_1.jsx)(Button_1.Button, Object.assign({ id: id, variant: "plain", className: className, type: "button", "aria-label": ariaLabel || `Draggable row draggable button`, onClick: onClick }, props, { icon: (0, jsx_runtime_1.jsx)(rh_ui_grip_vertical_fill_icon_1.default, {}) }))); |
| 11 |
}; |
| 12 |
exports.DraggableCell = DraggableCell; |
| 13 |
exports.DraggableCell.displayName = 'DraggableCell'; |
| 14 |
//# sourceMappingURL=DraggableCell.js.map |