@aappddeevv/dynamics-client-ui
Version:
## What is it? A library to help you create great dynamics applications.
14 lines • 691 B
JavaScript
;
/**
* Standard remove button for a line of data being displayed. Has hard-coded styling
* Clients can keep it invisible until the row is highlighted using the className.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const React = require("react");
const cx = require("classnames");
const styles = require("./RemoveIconButton.css");
exports.RemoveIconButton = ({ onRemove, className }) => {
return (React.createElement("input", { type: "button", alt: "Remove", title: "Remove", className: cx(styles.removeIconButton, className), onClick: () => onRemove() }));
};
exports.default = exports.RemoveIconButton;
//# sourceMappingURL=RemoveIconButton.js.map