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';<ItemCellicon={<Icon name="rocket"/>}>Item</ItemCell>
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