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.

22 lines (20 loc) 597 B
import * as React from "react"; import styled from "styled-components"; import defaultTokens from "../../defaultTokens"; const StyledTripLayover = styled.div.withConfig({ displayName: "TripLayover__StyledTripLayover", componentId: "sc-1uzfgjz-0" })(["margin:", ";"], ({ theme }) => `${theme.orbit.spaceSmall} 0 ${theme.orbit.spaceSmall} ${theme.orbit.spaceLarge}`); StyledTripLayover.defaultProps = { theme: defaultTokens }; const TripLayover = ({ children, dataTest }) => React.createElement(StyledTripLayover, { "data-test": dataTest }, children); export default TripLayover;