Skip to content

leecade/react-i-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reaact-i-cli

Transform svg to react-i

see: https://github.com/leecade/react-i

install

$ npm i react-i-cli -g

usage

$ react-i simple.svg

output

export const Simple = () => <g><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm4.24 16L12 15.45 7.77 18l1.12-4.81-3.73-3.23 4.92-.42L12 5l1.92 4.53 4.92.42-3.73 3.23L16.23 18z"/></g>

About

Transform svg to react-i

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published