carbon-react
Version:
A library of reusable React components for easily building user interfaces.
2 lines (1 loc) • 668 B
JavaScript
import t,{css as e}from"styled-components";import{space as i}from"styled-system";import s from"../../style/themes/apply-base-theme.js";const d=t.div.attrs(s).withConfig({displayName:"vertical-divider.style__StyledVerticalWrapper",componentId:"sc-b3cc6d7-0"})([""," "," ",""],i,(({height:t})=>t&&e(["height:",";"],"string"==typeof t?`${t}`:`${t}px`)),(({displayInline:t})=>t?"display: inline;":"")),l=t.div.attrs(s).withConfig({displayName:"vertical-divider.style__StyledDivider",componentId:"sc-b3cc6d7-1"})(["height:100%;border-left:1px solid ",";display:inherit;"],(({theme:t,tint:e})=>t.palette.slateTint(e)));export{l as StyledDivider,d as StyledVerticalWrapper};