UNPKG

kitchen-simulator

Version:

It is a kitchen simulator (self-contained micro-frontend).

24 lines 775 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; var _excluded = ["children"]; import React from 'react'; import Button from "./button"; import * as SharedStyle from "../../shared-style"; var STYLE = { borderColor: '#c12e2a', backgroundColor: '#c9302c', color: SharedStyle.COLORS.white }; var STYLE_HOVER = { backgroundColor: '#972726', borderColor: '#c12e2a', color: SharedStyle.COLORS.white }; export default function FormDeleteButton(_ref) { var children = _ref.children, rest = _objectWithoutProperties(_ref, _excluded); return /*#__PURE__*/React.createElement(Button, _extends({ style: STYLE, styleHover: STYLE_HOVER }, rest), children); }