1
Icons
Alex Grin edited this page 2021-10-22 10:40:27 -04:00
- You'll add new icons to icon-custom.jsx
- Get the
- You will need to convert most svg text to jsx compatible.
- This works really well to transform an svg to jsx
- https://react-svgr.com/playground/
- Be sure to add
width={props.size || '18'}
height={props.size || '16'}
- If necessary, override most
stroke="..."
params with"currentColor"
- Also delete redundant
strokeLinecap= strokeWidth= strokeLinejoin=
attributes if already covered in the main svg tag. - Add the icon constant to constants/icons.js