@hypersprite/react-vignette
v1.0.3
Published
Simple component to add vignette over an image
Downloads
3
Readme
React Vignette
Adds a basic vignette to a sibling.
Usage
Install
npm install --save @hypersprite/react-vignette
Import
import Vignette from '@hypersprite/react-vignette';
In Practice
Add <Vignette />
as a sibling to another component
<div>
<SomeSiblingDiv />
<Vignette />
</div>
Scripts
use npm run <script>
lint
- runs lintertest
- runs testtest:dev
- runs test in watch modebuild
- runs buildbuild:dev
- runs build in watch mode
npm version <major | minor | patch>
API
Receives Props
none
New Passed Props
none