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