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.

27 lines (20 loc) 801 B
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _styledComponents = _interopRequireDefault(require("styled-components")); var _defaultTheme = _interopRequireDefault(require("../../../defaultTheme")); var StyledText = _styledComponents.default.div.withConfig({ displayName: "StyledText", componentId: "sc-15cerbo-0" })(["height:", ";text-align:center;"], function (_ref) { var theme = _ref.theme; return 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;