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
{{ message }}
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
I have a React Component whose prop-types I've defined. Whenever I'm logging out the propTypes in React. it logs me out a function which is possibly the validator. I want to print the propType and whether the prop is required or not (e.g. prop1: {required: true, value: 5}) at this point. How can I do that?
I have a React Component whose prop-types I've defined. Whenever I'm logging out the propTypes in React. it logs me out a function which is possibly the validator. I want to print the propType and whether the prop is required or not (e.g. prop1: {required: true, value: 5}) at this point. How can I do that?
The text was updated successfully, but these errors were encountered: