my-first-react-abhishek-6-package
v1.7.3
Published
This is my first package for showing svg icons width custom height,width and color
Downloads
30
Readme
SHOW SVG BASED ON ICON NAME
This package is for showing svg icons with custom {Width,Height and Color}
Installation
use this command for Installation
npm i my-first-react-abhishek-6-package
Usage
import { MyComponent} from 'my-first-react-abhishek-6-package';
const App=()=>{
return (
<div className="App">
<MyComponent width={60} height={60} fill={'blue'} icon_name={'facebook'} className={'facebook'}/>
<MyComponent width={60} height={100} fill={'green'} icon_name={'facebook'} className={'facebook'} />
<MyComponent width={30} height={30} fill={'yellow'} icon_name={'twitter'} className={'twitter'} />
</div>
);
}
export default App;
Contributing
Contributed By Abhishek