Created
June 3, 2019 08:29
-
-
Save EmaSuriano/f4269e8ac0185af13a00679f9abe720a to your computer and use it in GitHub Desktop.
Example of generated index file by create-icon.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import Icon from './Icon'; | |
export const Louvre = props => <Icon {...props} name="001-louvre" />; | |
export const LeaningTowerOfPisa = props => <Icon {...props} name="002-leaning tower of pisa" />; | |
export const Coliseum = props => <Icon {...props} name="003-coliseum" />; | |
export const Stonehenge = props => <Icon {...props} name="004-stonehenge" />; | |
// and the list continue ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment