.breakpointWidth{
xs: '480px';
sm: '576px';
md: '768px';
lg: '992px';
xl: '1200px';
xxl: '1600px';
}
$ npx @svgr/cli --icon Logo.svg
- target the .svg file
- copy paste the output of the command line into a .tsx (or .jsx) file
- voila
JAMstack, TypeScript, React, Nextjs, Vercel, Static Site Generation, Cloudinary, Graymatter, Remark (md to html)
TypeScriptMIT
.breakpointWidth{
xs: '480px';
sm: '576px';
md: '768px';
lg: '992px';
xl: '1200px';
xxl: '1600px';
}
$ npx @svgr/cli --icon Logo.svg