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.

31 lines (24 loc) 950 B
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _styledComponents = _interopRequireDefault(require("styled-components")); var _defaultTheme = _interopRequireDefault(require("../../../defaultTheme")); const StyledIconWrapper = _styledComponents.default.div.withConfig({ displayName: "StyledIconWrapper", componentId: "sc-mynjos-0" })(["min-width:", ";min-height:", ";z-index:1;text-align:center;line-height:", ";"], ({ theme, mobile }) => mobile && theme.orbit.spaceLarge, ({ theme }) => theme.orbit.spaceLarge, ({ theme }) => theme.orbit.lineHeightText); // $FlowFixMe: https://github.com/flow-typed/flow-typed/issues/3653#issuecomment-568539198 StyledIconWrapper.defaultProps = { theme: _defaultTheme.default }; var _default = StyledIconWrapper; exports.default = _default;