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.

17 lines (14 loc) 676 B
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import * as React from "react"; import { SIZE_OPTIONS } from "../primitives/IllustrationPrimitive/consts"; import IllustrationPrimitive from "../primitives/IllustrationPrimitive"; var Illustration = function Illustration(_ref) { var _ref$size = _ref.size, size = _ref$size === void 0 ? SIZE_OPTIONS.MEDIUM : _ref$size, props = _objectWithoutProperties(_ref, ["size"]); return /*#__PURE__*/React.createElement(IllustrationPrimitive, _extends({}, props, { size: size })); }; export default Illustration;