---
title: "Comment by Jonathan Case on \"Building Multistep Forms with MaterialUI and React Hooks\" | Hashnode"
description: "Nice writeup! Where do you attach the handlers that you defined to the buttons that you created? I see them being passed down as props to Buttons, but I don&#39"
url: "https://hashnode.com/posts/building-multistep-forms-with-materialui-and-react-hooks/5f6a89971c935b2e4c616401/comment/5f6b5858ff06f53c8bd6356a"
---

[Discussion](https://hashnode.com/posts/building-multistep-forms-with-materialui-and-react-hooks/5f6a89971c935b2e4c616401)

Comment [Building Multistep Forms with MaterialUI and React Hooks](https://hashnode.com/posts/building-multistep-forms-with-materialui-and-react-hooks/5f6a89971c935b2e4c616401)

[Jonathan Case](https://hashnode.com/@Case)

[Sep 23, 2020](https://hashnode.com/posts/building-multistep-forms-with-materialui-and-react-hooks/5f6a89971c935b2e4c616401/comment/5f6b5858ff06f53c8bd6356a)

Nice writeup! Where do you attach the handlers that you defined to the buttons that you created? I see them being passed down as props to Buttons, but I don't see buttons using the handlers.

[Ifeanyi Muogbo](https://hashnode.com/@ifeanyi)

[Sep 23, 2020](https://hashnode.com/posts/building-multistep-forms-with-materialui-and-react-hooks/5f6a89971c935b2e4c616401/comment/5f6b5858ff06f53c8bd6356a#reply-5f6b7218ff06f53c8bd6370b)

Thanks, Jonathan.  
Glad you pointed that out. Many thanks.  
It was an unintentional omission.  
The handlers were originally included in the Button.jsx file in the codesandbox [demo embed](https://hashnode.com/posts/building-multistep-forms-with-materialui-and-react-hooks/5f6a89971c935b2e4c616401/comment/5f6b5858ff06f53c8bd6356a#final-steps).  
I've however included them in the write-up now. Check [here](https://hashnode.com/posts/building-multistep-forms-with-materialui-and-react-hooks/5f6a89971c935b2e4c616401/comment/5f6b5858ff06f53c8bd6356a#buttonsjsx).
