1.0.0 • Published 4 years ago

@abhinav-anshul/shadow-box v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

What is this?

Get perfect shadow without the hassle.

Installation

npm i shadow-box --save

Then...

import { shadow } from 'shadow-box';

shadow({
    shadow_type: 'show',
    padding : 'false'
});

Options

Shadow-box supports 2 options, both of which are optional:

  • shadow_type - hard | soft (Defaults to soft)
  • padding boolean (Defaults to false)