Skip to content

Commit 3861260

Browse files
committed
Use MexIcon component instead of iconfiy icon component
1 parent e312bf2 commit 3861260

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

apps/extension/src/Components/Sidebar/NotesInfoBar.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Icon } from '@iconify/react'
55
import { debounce } from 'lodash'
66

77
import { mog } from '@mexit/core'
8-
import { SidebarListFilterWrapper, SidebarListFilter, Input, SnippetCards } from '@mexit/shared'
8+
import { SidebarListFilterWrapper, SidebarListFilter, Input, SnippetCards, MexIcon } from '@mexit/shared'
99

1010
import useRaju from '../../Hooks/useRaju'
1111
import useDataStore from '../../Stores/useDataStore'
@@ -45,7 +45,7 @@ export const NotesInfoBar = () => {
4545
<SnippetCards>
4646
<SidebarListFilterWrapper>
4747
<SidebarListFilter>
48-
<Icon icon={searchLine} />
48+
<MexIcon height={20} width={20} icon={searchLine} />
4949
<Input
5050
autoFocus
5151
placeholder={'Search notes'}

apps/extension/src/Components/Sidebar/SnippetsInfoBar.tsx

+9-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,14 @@ import {
1717
parseSnippet,
1818
Snippet
1919
} from '@mexit/core'
20-
import { SnippetCards, Input, SidebarListFilter, SidebarListFilterWrapper, SnippetSidebarHelp } from '@mexit/shared'
20+
import {
21+
SnippetCards,
22+
Input,
23+
SidebarListFilter,
24+
SidebarListFilterWrapper,
25+
SnippetSidebarHelp,
26+
MexIcon
27+
} from '@mexit/shared'
2128

2229
import { CopyTag } from '../../Editor/components/Tags/CopyTag'
2330
import { generateEditorPluginsWithComponents } from '../../Editor/plugins/index'
@@ -133,7 +140,7 @@ export const SnippetsInfoBar = () => {
133140
<SnippetCards>
134141
<SidebarListFilterWrapper>
135142
<SidebarListFilter>
136-
<Icon icon={searchLine} />
143+
<MexIcon height={20} width={20} icon={searchLine} />
137144
<Input
138145
autoFocus
139146
placeholder={'Search snippets'}

0 commit comments

Comments
 (0)