ple Choices
Kizspy.me
(Choose 1
answer)
☐ A
☐ B
ос
☐ D
Can you provide an example of a custom property validator in React that checks if a prop is a positive number?
A. value: PropTypes.positiveNumber
B. value: function(props, propName, componentName)
C. value: PropTypes.number && value > 0
D. value: PropTypes.number && value >= 0
Back
Next
I want to ins the exam.
LAPTOP RUNNING