It's not that it has to accept props, but that it needs to be a function or a class that extends React.Component . The first example is just ...
確定! 回上一頁