Use line-awesome as react svg component
npm install react-line-awesome-svgThis project is about create React Svg Components using Line Awesome assets.
See the list of all icons available
``shell`
npx @svgr/cli --icon ./node_modules/line-awesome/svg/*.svg --out-dir ./src/icons
find ./src/icons -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.tsx"' {} \;
sed -i 's/[(]props[)]/\(props\: JSX\.IntrinsicAttributes \& React\.SVGProps\
sh prebuild.sh`How to install?
npm
npm install react-line-awesome-svg --save
How to use?
`tsx
import { LineAwesome } from 'react-line-awesome-svg'
import SvgThumbsUp from 'react-line-awesome-svg/icons/ThumbsUp' icon={SvgThumbsUp}
className="my-svg"
fill="#000"
/>
// outputs ->
``