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) 816 B
import * as React from "react"; import styled, { css } from "styled-components"; import Separator from "../../Separator/index"; import mq from "../../utils/mediaQuery/index"; import defaultTheme from "../../defaultTheme"; export const StyledNavigationListSeparator = styled.div.withConfig({ displayName: "NavigationListSeparator__StyledNavigationListSeparator", componentId: "sc-35jpk7-0" })(["padding:0 ", ";", ";"], ({ theme }) => theme.orbit.spaceMedium, mq.largeMobile(css(["padding:0 ", ";"], ({ theme }) => theme.orbit.spaceXLarge))); StyledNavigationListSeparator.defaultProps = { theme: defaultTheme }; const NavigationListSeparator = () => React.createElement(StyledNavigationListSeparator, null, React.createElement(Separator, { spaceAfter: "none" })); export default NavigationListSeparator;