JSPM

@canner/div-background-wrapper

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q43237F
  • License Apache-2.0

minimal div background wrapper

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 NPM version Dependency Status

minimal div background wrapper

Installation

$ npm install --save div-background-wrapper

Usage

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.js

License

Apache-2.0 © chilijung