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.

26 lines (19 loc) 772 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 StyledText = _styledComponents.default.div.withConfig({ displayName: "StyledText", componentId: "sc-15cerbo-0" })(["height:", ";text-align:center;"], ({ theme }) => theme.orbit.spaceMedium); // $FlowFixMe: https://github.com/flow-typed/flow-typed/issues/3653#issuecomment-568539198 StyledText.defaultProps = { theme: _defaultTheme.default }; var _default = StyledText; exports.default = _default;