mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 22:10:24 +00:00
feat: added search component
This commit is contained in:
parent
122e3bf01d
commit
37ac2ea4dd
16
components/Search.tsx
Normal file
16
components/Search.tsx
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
import { useState } from 'react'
|
||||||
|
|
||||||
|
const Search = ({query, result}:SearchProps):JSX.Element => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<input />
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
interface SearchProps {
|
||||||
|
query: string
|
||||||
|
result: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Search
|
||||||
Loading…
x
Reference in New Issue
Block a user