@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.
23 lines (20 loc) • 589 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
const _excluded = ["height", "rowHeight"];
import * as React from "react";
import Svg from "../Svg";
const Card = _ref => {
let {
height = 98,
rowHeight = 98
} = _ref,
props = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement(Svg, _extends({}, props, {
rows: 1,
height: height,
rowBorderRadius: 3,
rowHeight: rowHeight,
rowOffset: 0
}));
};
export default Card;