Discuss.FOLIO.org is no longer used. This is a static snapshot of the website as of February 14, 2023.

get the Icon name from the FOLIO ui framework

judelawlee
25 Jul '19

Hello,
how to get the Icon name from the FOLIO ui framework?
e.g. the is mapping the edit icon in FOLIO, if I want to get the delete icon, how to get the icon name and mapping relationship? thanks.

zburke
25 Jul '19

The icons are dynamically loaded from this directory: https://github.com/folio-org/stripes-components/tree/master/lib/Icon/icons.

The “Duplicate” example in the box you highlighted is from ViewRequest.js. In that same file, see also lines 372-374 (Edit) and 384-386 (Cancel request).