FER202Xuất hiện trong 1 đề thi
Can you define multiple Type and Value validators for a single prop in PropTypes?
Các lựa chọn
ANo, you can only define one validator for a prop.
BNo. Type and Value validators cannot be used together.
CYes, you can define multiple validators for a prop.
DYes, but it's not recommended for code readability.