fangpenlin / avataaars

React component for avataaars
MIT License
792 stars 169 forks source link

Adding Skin comp to Piece comp and minor code updates #14

Closed scrumptiousdev closed 6 years ago

scrumptiousdev commented 6 years ago

Hi, @fangpenlin Thank you for creating this AWESOME tool!

Two items for this PR:

  1. I was using Piece component and wanted to add skin color as a piece with its color as thumbnail.
  2. The typo fix for 'accesories' to 'accessories' did not get compiled in previous commit so I added both 'accesories' AND 'accessories' in the condition as '|| (or)', so that it's backward-compatible so other dev who already developed with 'accesories' don't have to update their code

I love what you have built! But this PR and deploying it to new npm version would really help me get going forward with my project! :)

Thank you!