1.0.44 • Published 2 years ago
shadowimage-rabbi v1.0.44
What is this ?
Get perfect shadows every time for the non-designer.
Installation
npm i shadowImage --save
Then...
import { shadowImage } from 'shadowImage';
shadowImage({
shadow_type: 'soft',
padding: false
});
Options
ShadowImage supports 2 options, both of which are optional:
- shadow_type - hard | soft (Defaults to soft)
- padding - boolean (Defaults to false)