UNPKG

@rocketsofawesome/mirage

Version:

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

28 lines (23 loc) 635 B
import PropTypes from 'prop-types' import styled from 'styled-components' import BaseImageButton from './ImageButton.base' const ImageButtonBlack = styled(BaseImageButton)` > button { background-color: ${props => props.theme.colors.black}; color: ${props => props.theme.colors.white}; } > .borderBottom { background-color: ${props => props.theme.colors.yellow}; } ` ImageButtonBlack.propTypes = { theme: PropTypes.shape({ colors: PropTypes.shape({ black: PropTypes.string, yellow: PropTypes.string, white: PropTypes.string }) }) } /** @component */ export default ImageButtonBlack