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) 635 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; const _excluded = ["height", "rowHeight", "width"]; import * as React from "react"; import Svg from "../Svg"; const Button = (_ref) => { let { height = 44, rowHeight = 44, width = 150 } = _ref, props = _objectWithoutProperties(_ref, _excluded); return /*#__PURE__*/React.createElement(Svg, _extends({ rows: 1, height: height, width: width, rowHeight: rowHeight, rowBorderRadius: 6, rowOffset: 0 }, props)); }; export default Button;