An open API service indexing awesome lists of open source software.

https://github.com/eswat2/auto-ikons

prototype - collection of SVG icon components for React...
https://github.com/eswat2/auto-ikons

Last synced: about 1 month ago
JSON representation

prototype - collection of SVG icon components for React...

Awesome Lists containing this project

README

        

# auto-ikons

> prototype - collection of SVG icon components for React

[![NPM](https://img.shields.io/npm/v/auto-ikons.svg)](https://www.npmjs.com/package/auto-ikons) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save auto-ikons
```

## Usage

> the only export is an object called **AutoIcons**:

```jsx
import React, { Component } from 'react'
import { AutoIcons } from 'auto-ikons'

const keys = Object.keys(AutoIcons)

export default class App extends Component {
render() {
return (


Modern React component module




{keys.map((key, index) => {
const Icon = AutoIcons[key]
return (


{key}

)
})}

)
}
}
```

## License

MIT © [eswat2](https://github.com/eswat2)