You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would love to be able to have a custom error message - I have created a custom component that takes in the onClick handler and an as prop and when developers go to implement onClick handlers on normal elements, would love to adjust the Message so i can point them to use our custom component.
The text was updated successfully, but these errors were encountered:
@ljharb these two rules are the ones we see wherever we apply onClick to normal elements. So being able to extend these messages to guide our developers to use the component we created for that use case would be ideal.
Would love to be able to have a custom error message - I have created a custom component that takes in the
onClick
handler and anas
prop and when developers go to implementonClick
handlers on normal elements, would love to adjust the Message so i can point them to use our custom component.The text was updated successfully, but these errors were encountered: