UNPKG

@kiwicom/orbit-components

Version:

Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.

25 lines (22 loc) 827 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import * as React from "react"; import Svg from "../Svg"; var Button = function Button(_ref) { var _ref$height = _ref.height, height = _ref$height === void 0 ? 44 : _ref$height, _ref$rowHeight = _ref.rowHeight, rowHeight = _ref$rowHeight === void 0 ? 44 : _ref$rowHeight, _ref$width = _ref.width, width = _ref$width === void 0 ? 150 : _ref$width, props = _objectWithoutProperties(_ref, ["height", "rowHeight", "width"]); return /*#__PURE__*/React.createElement(Svg, _extends({ rows: 1, height: height, width: width, rowHeight: rowHeight, rowBorderRadius: 6, rowOffset: 0 }, props)); }; export default Button;