@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.
13 lines (12 loc) • 470 B
JavaScript
import styled, { css } from "styled-components";
import defaultTheme from "../../../defaultTheme";
const StyledText = styled.div.withConfig({
displayName: "StyledText",
componentId: "sc-15cerbo-0"
})(["", ";"], ({
theme
}) => css(["height:", ";text-align:center;"], theme.orbit.spaceMedium)); // $FlowFixMe: https://github.com/flow-typed/flow-typed/issues/3653#issuecomment-568539198
StyledText.defaultProps = {
theme: defaultTheme
};
export default StyledText;