pass value
This commit is contained in:
parent
d67012a5ae
commit
6c4af99b3f
|
@ -1,9 +1,11 @@
|
|||
import { Input } from "@status-im/components"
|
||||
import { SearchIcon } from "@status-im/icons"
|
||||
import { useState } from "react"
|
||||
|
||||
const InputSearch = () => {
|
||||
const [value, setValue] = useState('')
|
||||
type InputSearchProps = {
|
||||
value: string
|
||||
setValue: (value: string) => void
|
||||
}
|
||||
const InputSearch = ({ value, setValue }: InputSearchProps) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
Loading…
Reference in New Issue