AdrianMachado / KaiUI

React component library for KaiOS apps
MIT License
187 stars 39 forks source link

IconListItem and Button should support src attribute #10

Closed Phidelux closed 5 years ago

Phidelux commented 5 years ago

Currently it is only possible to use KaiOS icons within the IconListItem and Button components. However, in order to be able to use custom icons, there should be the possibility to use the iconSrc attribute to define the path to an icon. The iconSrc attribute should be prioritized over the iconattribute, thus a fallback icon could be specified.