Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
React: Passing value to prop callback ? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
22 replies
codefork
React: Passing value to prop callback ?
I want to pass a value to my props call back function
Example
:
<input onChange
=
{
(e
)
=
> console
.log
(e
.target
.value
)
/
>
The input onChange prop exposes the event to our callback
.
How do I accomplish this in my own component
?
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Passing config prop to zod schema for dynamic refinement
TTC
Theo's Typesafe Cult / questions
3y ago
t3 react clerk oath callback
TTC
Theo's Typesafe Cult / questions
3y ago
Passing in Form as prop in Shadcn/ui?
TTC
Theo's Typesafe Cult / questions
3y ago
Passing color prop isn't working with custom button
TTC
Theo's Typesafe Cult / questions
4y ago