import PropTypes from 'prop-types' const Index = props => { return <div>{props.content}</div> }RT,函数组件怎么验证props 查看完整描述