How to use the rebass.BackgroundImage.extend function in rebass

To help you get started, we’ve selected a few rebass examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microlinkhq / www / src / components / DemoCard.js View on Github external
import React from 'react'
import {BackgroundImage} from 'rebass'

const CustomBackgroundImage = BackgroundImage.extend`
  border-radius: 8px;
  box-shadow: 0 16px 24px 0 rgba(127, 120, 118, 0.1);
  border: solid 8px #ffffff;
`

export default () => (
  
)