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