1.0.2 • Published 3 years ago

chakra-ui-devicon v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Chakra UI Devicons

This package contains components for custom icons from the devicon library. The library creates Icon components for use in Chakra UI projects. Feel free to fork this to create your own icons for other React packages.

This package uses plop.js to autogenerate icon components for Chakra UI. The individual components are contained with the components folder, and can be imported through the module.

Installation

To install Chakra UI Devicons run:

npm i chakra-ui-devicon

To rebuild run the bash script in src/scripts

./generateComponents.sh

Importing

To import an icon (such as React.js) run the following:

import { ReactIcon } from 'chakra-ui-devicon'

Deprecated

To import the button run the following:

import { ReactIconButton } from 'chakra-ui-devicon'

The button can be styled using any Chakra UI props.

<ReactIconButton variant='outline'/>
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago