In this example, we're using PropTypes.string . When an invalid value is provided for a prop, a warning will be shown in the JavaScript console.
確定! 回上一頁