UNPKG

@rocketsofawesome/mirage

Version:

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

21 lines (17 loc) 389 B
import PropTypes from 'prop-types' import styled from 'styled-components' import Spinner from './Spinner.base' const WhiteSpinner = styled(Spinner)` rect { fill: ${props => props.theme.colors.white}; } ` WhiteSpinner.propTypes = { theme: PropTypes.shape({ colors: PropTypes.shape({ white: PropTypes.string }) }) } /** @component */ export default WhiteSpinner