Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

skava / @skava/ui   js

Repository URL to install this package:

Version: 4.2.0-a11y.0 

/ src / components / molecules / NavBar / styled.tsx

import { styled } from 'styleh-components'
import { SeparatorIcon } from 'atoms/Icons/SeparatorIcon'
import List, { ItemPanel } from 'molecules/List'

const NavMenuList = styled.withComponent(List) `
  display: flex;
  flex-direction: row;

  ${ItemPanel} {
    margin-left: 15px;
    display: flex;
    align-items: center;
  }

  ${ItemPanel}:last-child {
    margin-right: 0px;
  }

`

const NavSeparatorIcon = styled.withComponent(SeparatorIcon) `
  margin-left: 15px;
`

export { NavMenuList, NavSeparatorIcon }