UNPKG

@navinc/base-react-components

Version:
11 lines 510 B
import styled from 'styled-components'; import isRebrand from './is-rebrand'; const Divider = styled.hr.withConfig({ displayName: "brc-sc-Divider", componentId: "brc-sc-18caidp" }) ` border-radius: ${({ theme }) => (isRebrand(theme) ? '100px' : '4px')}; border: none; height: ${({ theme }) => (isRebrand(theme) ? '4px' : '8px')}; background-color: ${({ theme }) => (isRebrand(theme) ? theme.navNeutral200 : theme.neutral100)}; margin: 0; `; export default Divider; //# sourceMappingURL=divider.js.map