@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.
22 lines (19 loc) • 711 B
JavaScript
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 Card = function Card(_ref) {
var _ref$height = _ref.height,
height = _ref$height === void 0 ? 98 : _ref$height,
_ref$rowHeight = _ref.rowHeight,
rowHeight = _ref$rowHeight === void 0 ? 98 : _ref$rowHeight,
props = _objectWithoutProperties(_ref, ["height", "rowHeight"]);
return /*#__PURE__*/React.createElement(Svg, _extends({}, props, {
rows: 1,
height: height,
rowBorderRadius: 3,
rowHeight: rowHeight,
rowOffset: 0
}));
};
export default Card;