jakezatecky / react-dual-listbox

A feature-rich dual listbox for React.
https://jakezatecky.github.io/react-dual-listbox/
MIT License
109 stars 59 forks source link

Add `iconsClass` and remove Font Awesome assumption in DOM #209

Closed jakezatecky closed 1 year ago

jakezatecky commented 1 year ago

Right now, the component assumes access to Font Awesome. It provides the icons property to allow users to override any of the default icons, but the underlying DOM elements make explicit reference to Font Awesome classes.

Instead, we should offload these styles into the CSS and provide users with an ability to switch the parent icon class. We should also support native Unicode icons.