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.

21 lines (20 loc) 760 B
import styled from "styled-components"; import defaultTheme from "../../../defaultTheme"; var StyledIconWrapper = styled.div.withConfig({ displayName: "StyledIconWrapper", componentId: "sc-mynjos-0" })(["min-width:", ";min-height:", ";z-index:1;text-align:center;line-height:", ";"], function (_ref) { var theme = _ref.theme, mobile = _ref.mobile; return mobile && theme.orbit.spaceLarge; }, function (_ref2) { var theme = _ref2.theme; return theme.orbit.spaceLarge; }, function (_ref3) { var theme = _ref3.theme; return theme.orbit.lineHeightText; }); // $FlowFixMe: https://github.com/flow-typed/flow-typed/issues/3653#issuecomment-568539198 StyledIconWrapper.defaultProps = { theme: defaultTheme }; export default StyledIconWrapper;