React has built-in type checking abilities for props. ... import PropTypes from "prop-types";class Greeting extends React.Component {
確定! 回上一頁