@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.
27 lines (24 loc) • 659 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
const _excluded = ["height", "width"];
import * as React from "react";
import Svg from "../Svg";
const Image = _ref => {
let {
height = 150,
width = 300
} = _ref,
props = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement(Svg, _extends({}, props, {
height: height,
width: width
}), /*#__PURE__*/React.createElement("rect", {
x: "0",
y: "0",
rx: "6",
ry: "6",
width: "100%",
height: "100%"
}));
};
export default Image;