mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
added lab search
This commit is contained in:
parent
16d12f92da
commit
ddf2b6eda3
16 changed files with 149 additions and 28 deletions
12
src/components/input/SearchInput/index.tsx
Normal file
12
src/components/input/SearchInput/index.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import React, { VFC } from 'react';
|
||||
|
||||
import { Icon } from '~/components/input/Icon';
|
||||
import { InputText, InputTextProps } from '~/components/input/InputText';
|
||||
|
||||
interface SearchInputProps extends Omit<InputTextProps, 'prefix' | 'suffix'> {}
|
||||
|
||||
const SearchInput: VFC<SearchInputProps> = ({ ...props }) => (
|
||||
<InputText {...props} prefix={<Icon icon="search" />} />
|
||||
);
|
||||
|
||||
export { SearchInput };
|
Loading…
Add table
Add a link
Reference in a new issue