0.5.0 ā€¢ Published 10 months ago

@atlantum/icons v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Feather icons React Typescript

npm NPM downloads

šŸ‘‰ Link to storybook preview

Installation

yarn add @atlantum/feather-react-ts

or

npm install @atlantum/feather-react-ts

Usage

import React from 'react'
import Icon from '@atlantum/feather-react-ts'

// Basic render with default parameters
// color=black / size=24px / stroke-width=2
<Icon name='activity' />


// Customize look by passing values in to props
<Icon name='activity' size='32' stroke='4' color='black' />

// Values for size and stroke can be string | number
<Icon name='activity' size={32} stroke={4}color='black' />

// Support for adding classes via className prop
<Icon name='activity' className="my-awesome-class" />

// Support onClick event via props
<Icon name='activity' onClick={() => console.log("Clicked!")} />

Enjoy!

0.5.0

10 months ago

0.4.4

11 months ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago