@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.
20 lines • 665 B
JavaScript
import styled from "styled-components";
import defaultTheme from "../../../defaultTheme";
var StyledIconWrapper = styled.div.withConfig({
displayName: "StyledIconWrapper",
componentId: "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;
});
StyledIconWrapper.defaultProps = {
theme: defaultTheme
};
export default StyledIconWrapper;