Changing default values of component props #1171
Unanswered
yorickvandervis
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
Wondering if there was another way of easily changing default values for ALL components of a specific type, in this case ToolTip. I wanted to change the default value of the ToolTip - openDelay from 700 (default) to 400 but couldn't figure out where to easily change this.
Right now I've created a custom component and forwarded the props:
And then exported the ToolTip component like this:
But there's probably a better way, hence the question.. :-).
Beta Was this translation helpful? Give feedback.
All reactions