@pcgnpm/icon-display
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

#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" }} /> ); }} />

Package Sidebar

Install

npm i @pcgnpm/icon-display

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.08 kB

Total Files

4

Last publish

Collaborators

  • ritesh.jariwala
  • stvsan