Skip to content

Commit

Permalink
Storybook: allow for case-agnostic filtering of icons (#65780)
Browse files Browse the repository at this point in the history
  • Loading branch information
keoshi authored Oct 3, 2024
1 parent 45ecb4e commit 0973cc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/icons/src/icon/stories/index.story.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const LibraryExample = () => {
const filteredIcons = filter.length
? Object.fromEntries(
Object.entries( availableIcons ).filter( ( [ name ] ) =>
name.includes( filter )
name.toLowerCase().includes( filter.toLowerCase() )
)
)
: availableIcons;
Expand Down

0 comments on commit 0973cc8

Please sign in to comment.