1.0.0 • Published 2 years ago

@pcgnpm/icon-display v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

#icon-display

Usage

Default icon <IconDisplay metricValue={5454555} metricLabel="Out-of-Stocks" metricType="currency" iconComponent={() => { return ( <FontAwesome5Icon name="box" size={30} color="#fff" style={{ opacity: 0.5, paddingTop: 14, position: "absolute" }} /> ); }} />

Store level icon <IconDisplay metricValue={5454555} metricLabel="Out-of-Stocks" metricType="currency" iconComponent={() => { return ( <FontAwesomeIcon name="dollar" size={30} color="#fff" style={{ opacity: 0.5, paddingTop: 14, position: "absolute" }} /> ); }} />