Skip to content

Commit

Permalink
fix(documentation): icon search to case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalosard committed Oct 12, 2022
1 parent 678a719 commit b72d999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/documentation/src/components/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function Icons() {
<input
placeholder="Search Icon"
className="form-control"
onInput={(e) => setSearchIcon((e.target as HTMLInputElement).value)}
onInput={(e) => setSearchIcon((e.target as HTMLInputElement).value.toLocaleLowerCase())}
/>
</div>
<div className={clsx(styles.Icons)}>
Expand All @@ -37,7 +37,7 @@ export default function Icons() {
<div
key={icon}
className={clsx(styles.Icon__Tile)}
onClick={() => {}}
onClick={() => { }}
>
<div>
<ix-icon name={icon}></ix-icon>
Expand All @@ -50,7 +50,7 @@ export default function Icons() {
type="text"
readOnly
value={icon}
onChange={() => {}}
onChange={() => { }}
></input>
</div>
))}
Expand Down

0 comments on commit b72d999

Please sign in to comment.