Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Storybook: allow for case-agnostic filtering of icons
  • Loading branch information
keoshi committed Oct 1, 2024
commit 8f6f8efa9512f471dccc8b732b0c581abe805262
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