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...
- Host: GitHub
- URL: https://github.com/eswat2/auto-ikons
- Owner: eswat2
- Created: 2019-06-15T04:06:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:12:23.000Z (over 2 years ago)
- Last Synced: 2025-04-27T01:16:33.615Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.52 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# auto-ikons
> prototype - collection of SVG icon components for React
[](https://www.npmjs.com/package/auto-ikons) [](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)