kitchen-simulator
Version:
It is a kitchen simulator (self-contained micro-frontend).
25 lines • 795 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";
import * as SharedStyle from "../../shared-style";
var STYLE = {
borderColor: '#415375',
backgroundColor: '#415375',
color: SharedStyle.COLORS.white
};
var STYLE_HOVER = {
borderColor: '#1f3149',
backgroundColor: '#1f3149',
color: SharedStyle.COLORS.white
};
export default function FormSubmitButton(_ref) {
var children = _ref.children,
rest = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement(Button, _extends({
type: "submit",
style: STYLE,
styleHover: STYLE_HOVER
}, rest), children);
}