Yes, as far as passing down props are concerned there is no difference in usage with React Hooks. In the snippet you’ve provided just pass setSearchData as a prop to PostContainer.
<PostContainer
data={dataOnMap}
addLike={addLike[index]}
searchData={searchData}
setSearchData={setSearchData}
/>