PropTypes used to typechecking the props that are passed to a React component. Syntax. import PropTypes from 'prop-types'; class Greetings ...
確定! 回上一頁