To beautify images with border radius, box shadows and margins.
npm i beautifyImages --save
Then...
import beautifyImages from './node_modules/beautifyImages/index.js';
beautifyImages({
shadow_type:'soft',
padding:false
});
shadowing supports two options :
- shadow_type - hard | soft (Defaults to 'soft')
- padding - boolean (Defaults to false)