A simple way to apply box shadow to your images.
npm i img-shadowizard --save
Then ...
import { shadowizard } from "img-shadowizard";
shadowizard({
shadow_type: "soft",
padding: false,
});
Img-shadowizard supports 2 options, both of which are optional;
- shadow_type = hard / soft (Defaults to soft)
- padding = boolean(Defaults to false)