Skip to content

Commit 6e225d3

Browse files
committed
Bring back icon for SearchBox
1 parent 4eeea10 commit 6e225d3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

extensions/ql-vscode/src/view/common/SearchBox.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ const TextField = styled(VscodeTextfield)`
77
width: 100%;
88
`;
99

10+
const SearchIcon = styled(Codicon)`
11+
margin: 0 8px;
12+
`;
13+
1014
type Props = {
1115
value: string;
1216
placeholder: string;
@@ -37,7 +41,7 @@ export const SearchBox = ({
3741
onInput={handleInput}
3842
className={className}
3943
>
40-
<Codicon name="search" label="Search..." slot="start" />
44+
<SearchIcon name="search" label="Search..." slot="content-before" />
4145
</TextField>
4246
);
4347
};

0 commit comments

Comments
 (0)