@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.
18 lines (17 loc) • 623 B
JavaScript
import styled from "styled-components";
import defaultTheme from "../../../defaultTheme";
const StyledIconWrapper = styled.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
};
export default StyledIconWrapper;