UNPKG

@rocketsofawesome/mirage

Version:

[Live Demo of the Pattern Library](https://rocketsofawesome.github.io/mirage/)

32 lines (26 loc) 616 B
import PropTypes from 'prop-types' import styled from 'styled-components' import BaseChevron from './CircleChevron.base' const TransparentCircleChevron = styled(BaseChevron)` ellipse { fill: #FFF; opacity: 0.5; } polyline { stroke: ${props => props.theme.colors.textPrimary}; stroke-width: 2; } ` TransparentCircleChevron.propTypes = { theme: PropTypes.shape({ colors: PropTypes.shape({ textPrimary: PropTypes.array }) }), width: PropTypes.string } TransparentCircleChevron.defaultProps = { width: '6rem' } /** @component */ export default TransparentCircleChevron