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.

25 lines (22 loc) 901 B
import * as React from "react"; import styled from "styled-components"; import defaultTheme from "../../../defaultTheme"; import { rtlSpacing } from "../../../utils/rtl"; var StyledTripLayover = styled.div.withConfig({ displayName: "TripLayover__StyledTripLayover", componentId: "nofcsg-0" })(["margin:", ";"], function (_ref) { var theme = _ref.theme; return rtlSpacing("".concat(theme.orbit.spaceSmall, " 0 ").concat(theme.orbit.spaceSmall, "\n ").concat(theme.orbit.spaceLarge)); }); // $FlowFixMe: https://github.com/flow-typed/flow-typed/issues/3653#issuecomment-568539198 StyledTripLayover.defaultProps = { theme: defaultTheme }; var TripLayover = function TripLayover(_ref2) { var children = _ref2.children, dataTest = _ref2.dataTest; return /*#__PURE__*/React.createElement(StyledTripLayover, { "data-test": dataTest }, children); }; export default TripLayover;