Does it not make sense to have a reusable icon component of our own that utilizes react-feather, and therefore be able to do something like <Icon icon={this.props.icon} />?
I'm aware that we can always pass an icon like <Camera /> down as a prop, but I'm wondering if it's possible to this just by the name of the icon.
Does it not make sense to have a reusable icon component of our own that utilizes react-feather, and therefore be able to do something like
<Icon icon={this.props.icon} />?I'm aware that we can always pass an icon like
<Camera />down as a prop, but I'm wondering if it's possible to this just by the name of the icon.