1.0.5 • Published 10 months ago

ig-icons v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

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

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

11 months ago