Skip to content

multiple tables on one page #96

Answered by vincjo
Skao asked this question in Q&A
Mar 26, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Indeed, it may be confusing because <Component {handler}> is a shorhand for <Component handler={handler}>

In your example, passing props to components would look like this:

<Search handler={userHandler}/>

<Search handler={otherHandler}/>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Skao
Comment options

Answer selected by Skao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants