react-sdk icon indicating copy to clipboard operation
react-sdk copied to clipboard

Please include or provide all icon svg files

Open wimbarelds opened this issue 6 months ago • 3 comments

Is your feature request related to a problem? Please describe. In Pega, you can set a landing page icon. The name/id of this icon is provided to the React-SDK, however the icons are not available by name.

Describe the solution you'd like This repository includes a few of the SVG's that you can pick. It would be nice if all of the SVG's were available either as a download, or as an NPM package (ie: npm i @pega/svg-icons), so we can combine that with a "webpackCopy" (and avoid having 790 extra files / 2.4MB to our code repository).

Describe alternatives you've considered I have tried using @pega/cosmos-react-core, however:

  • Cosmos requires you to register icons before you can use them
  • These are included in the Javascript bundle instead of available as individual files on demand (would add 2.4MB (uncompressed) to the bundle)

Additional context Add any other context or screenshots about the feature request here.

wimbarelds avatar Aug 08 '24 08:08 wimbarelds