Debian Codegraph @

node/@patternfly/react-table/dist/esm/components/Table/DraggableCell.js

raw
1 import { __rest } from "tslib";
2 import { jsx as _jsx } from "react/jsx-runtime";
3 import RhUiGripVerticalFillIcon from '@patternfly/react-icons/dist/esm/icons/rh-ui-grip-vertical-fill-icon';
4 import { Button } from '@patternfly/react-core/dist/esm/components/Button';
5 export const DraggableCell = (_a) => {
6 var { className, onClick, 'aria-label': ariaLabel, id } = _a, props = __rest(_a, ["className", "onClick", 'aria-label', "id"]);
7 return (_jsx(Button, Object.assign({ id: id, variant: "plain", className: className, type: "button", "aria-label": ariaLabel || `Draggable row draggable button`, onClick: onClick }, props, { icon: _jsx(RhUiGripVerticalFillIcon, {}) })));
8 };
9 DraggableCell.displayName = 'DraggableCell';
10 //# sourceMappingURL=DraggableCell.js.map