Clear git cache

This commit is contained in:
Hazem Krimi
2023-05-28 16:43:53 +01:00
parent bd462d7fb7
commit 2a71d7927c
179 changed files with 0 additions and 29069 deletions
-46
View File
@@ -1,46 +0,0 @@
import { Wrapper } from './styles';
import { Search as SearchIcon } from '../../assets';
type SearchProps = {
className?: string;
color?:
| 'client'
| 'productOwner'
| 'developer'
| 'admin'
| 'success'
| 'warning'
| 'error'
| 'black'
| 'white';
value: string;
fullWidth?: boolean;
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
};
const Search = ({
color = 'client',
value,
onChange,
...props
}: SearchProps) => {
return (
<Wrapper color={color} {...props}>
<div className='search'>
<div>
<span className='icon left'>
<SearchIcon />
</span>
<input
type='text'
value={value}
onChange={onChange}
placeholder='Search'
/>
</div>
</div>
</Wrapper>
);
};
export default Search;