Kthulu120 / ambrosia

MIT License
7 stars 0 forks source link

Make icon helper component #12

Open Kthulu120 opened 4 years ago

Kthulu120 commented 4 years ago

Current Behavior

Currently we have to keep recurringly have to import icons over and over causing unneeded import statements. Instead if we had an Icon helper component we could minimize this static.

Possible Solution

If we were to use this would be an example use case using all the props

<Icosia  height={32} width={32} color="white" icon_name="home">

Ideal Props: height: string | number width: string | number icon_name: string: required color: string

TODO

lamey commented 4 years ago

@Kthulu120 Where do you want me to get the icons from, and where is the docs folder?

Kthulu120 commented 4 years ago

@lamey you'll need to create the docs. Also could you formulate the components for icons in Figma such as x-circle, logo, plus-square ...etc. Lift from feather icons if you can for the basic icons.