ig-icons
v1.0.5
Published
Access almost all the icons of an Instagram.
Downloads
18
Maintainers
Readme
IG Icons
Access almost all the icons of an Instagram.
Installation
npm install ig-icons
Usage/Examples
import {Instagram} from 'ig-icons'
const App = () => {
return <Instagram size='24px'/>
}
You can pass params liks size to change the width and hight of an icon and to set avatar image by just simply pass src as param.
import {Avatar} from 'ig-icons'
const App = () => {
return <Avatar size='32px' src="image_url"/>
}
You can pass params liks label to set button text, type to set button type by default it is button, if you want to don't want to to show loading then you can pass showLoading false, you can pass loading state by using loading onclick is like normal onClick.
label, type='button', showLoading='true', loading=false, sx={}, onClick=''
import {LoadingButton} from 'ig-icons'
const App = () => {
return (
<LoadingButton loading={loading}>
Submit
</LoadingButton>
)
}
Demo
To see the live exmple https://ig-icons.netlify.app