Skip to content

Commit

Permalink
rebase on select icon
Browse files Browse the repository at this point in the history
  • Loading branch information
youssefezzahi96 committed Jan 7, 2025
1 parent 57c12a2 commit fe1266a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const IconPickerModal = (props, context) => {
aria-label={`aria icon ${index}`}
faIcon={iconName}
onClick={handleIconClick(index)}
options={{selectionMode: selectedIcon === index ? 'single' : ''}}
options={{isSelected: selectedIcon === index}}
/>
)),
[displayedIcons, selectedIcon, handleIconClick]
Expand Down

0 comments on commit fe1266a

Please sign in to comment.