Package Exports
- @canner/div-background-wrapper
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@canner/div-background-wrapper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
div-background-wrapper

minimal div background wrapper
Installation
$ npm install --save div-background-wrapperUsage
import React from 'react';
import ReactDOM from 'react-dom';
import DivBg from '../src';
ReactDOM.render(
<DivBg
image="http://lorempixel.com/1000/600/nature/1/"
width="400px"/>
, document.getElementById('root'));Start example server
node devServer.jsLicense
Apache-2.0 © chilijung