1.0.1 • Published 3 years ago
polaroidit v1.0.1
Polaroidit
Turn any image into an old-school polaroid.
Installation
npm i polaroidit --save
Then...
import { polaroidit } from 'polaroidit';
polaroidit({
shadow_type: 'soft',
padding: true
});
Options
Polaroidit supports 2 options, both of which are optional:
- shadow_type - hard | soft (Defaults to soft)
- padding - boolean (Defaults to false)