---It is Grandchild value that i want to send child component then Parent component with typescript React ----
const [mapDestinationfilter, setmapDestinationfilter] = React.useState<any[]>([]);
const onChange = (e) => {
const value = e.target.value
const Destinationfilter = mapdata?.filter(el => {
return el.price.amount < value
})
setmapDestinationfilter(Destinationfilter)
}
how can I pass this mapDestinationfilter to child component then to parent component with typescript React hooks ?