Skip to content

Commit

Permalink
feat(search-bar): fix issues
Browse files Browse the repository at this point in the history
Signed-off-by: Sudhanshu Dasgupta <[email protected]>
  • Loading branch information
sudhanshutech committed Oct 6, 2023
1 parent 088e92c commit 8c0c50b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { IconButton, TextField, Tooltip } from '@layer5/sistent-components';
import React, { useRef, useState } from 'react';
import {
default as CloseIcon,
default as SearchIcon
} from '../../../../svg/src/icons/Search/searchIcon';
import CloseIcon from '../../../../svg/src/icons/Close/closeIcon';
import SearchIcon from '../../../../svg/src/icons/Search/searchIcon';

interface SearchBarProps {
onSearch: (searchText: string) => void;
Expand Down Expand Up @@ -97,7 +95,7 @@ const SearchBar: React.FC<SearchBarProps> = ({ placeholder, onClear, expanded, s
}}
disableRipple
>
<SearchIcon />
<SearchIcon fill="#00D3A9" />
</IconButton>
</Tooltip>
)}
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/custom/Toolbar/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './viewColumn';
export * from './custom-search';

0 comments on commit 8c0c50b

Please sign in to comment.