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 / PhysicalAddress / styled.tsx

import { styled } from 'styleh-components'
import { LabelElement } from 'atoms/Text'

const StyledText = LabelElement.as('span')

const Name = styled.withComponent(StyledText) `
  flex: 0 0 100%;
  margin-right: rem(6);
`
const AddressLine1 = styled.withComponent(StyledText) `
  flex: 0 0 100%;
  margin-right: rem(6);
`

const AddressLine2 = styled.withComponent(StyledText) `
  flex: 0 0 100%;
  margin-right: rem(6);
`
const City = styled.withComponent(StyledText) `
  margin-right: rem(6);
`
const Country = styled.withComponent(StyledText) `
  flex: 0 0 100%;
  margin-right: rem(6);
`
const State = styled.withComponent(StyledText) `
  margin-right: rem(6);
`
const PostalCode = styled.withComponent(StyledText) `
  margin-right: rem(6);
`

const AddressWrapper = styled.div `
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
`

export {
  AddressWrapper,
  Name,
  AddressLine1,
  AddressLine2,
  City,
  Country,
  State,
  PostalCode,
  StyledText,
}