You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this component plugin depends on the font - FontAwesome which comes from the repository : react-native-vector-icons. Why not support component type for the 'icon' prop directly?
eg:
import ItemCell from 'react-native-item-cell'; import Icon from 'react-native-vector-icons/FontAwesome'; <ItemCell icon={<Icon name="rocket"/>} > Item </ItemCell>
#just a feature wanted
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Hi there,
If this component plugin depends on the font - FontAwesome which comes from the repository : react-native-vector-icons. Why not support component type for the 'icon' prop directly?
eg:
import ItemCell from 'react-native-item-cell';
import Icon from 'react-native-vector-icons/FontAwesome';
<ItemCell
icon={<Icon name="rocket"/>}
>
Item
</ItemCell>
#just a feature wanted
The text was updated successfully, but these errors were encountered: