pagesource / atomic-react-components

A react pattern library with collocation for generic react components equipped with recommended development ecosystem.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix(Icon Component): Color code is not working on svg icon

imsauravsingh opened this issue · comments

Describe the bug
As a reusable component, there isn't any option to add color code on the SVG icon.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '#191'
  2. Click on 'https://user-images.githubusercontent.com/49902237/71409904-315fb980-2669-11ea-960c-e4e0e217e93e.png'
  3. You'll see the default color of SVG is black but you won't be able to change the color code of SVG.

Expected behavior
As a user should have an option to add SVG's color

@salilkapoor As discussed the new approach you are changing for Icons, should fix this problem too.