kitchen-simulator
Version:
It is a kitchen simulator (self-contained micro-frontend).
21 lines • 650 B
JavaScript
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";
var STYLE = {
borderColor: '#adadad',
backgroundColor: '#e6e6e6'
};
var STYLE_HOVER = {
backgroundColor: '#d4d4d4',
borderColor: '#8c8c8c'
};
export default function CancelButton(_ref) {
var children = _ref.children,
rest = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement(Button, _extends({
style: STYLE,
styleHover: STYLE_HOVER
}, rest), children);
}