Additional User Props

In this lesson, we'll learn how users can pass additional props to prop getters!

Passing Additional Props to Prop Getters

With the prop getter, getTogglerProps, we can cater to other props the user may be interested in passing down to the toggle element.

For example, we currently have this usage by the user:

Get hands-on with 1400+ tech skills courses.