ReactNativeUtil
ReactNativeUtil copied to clipboard
PropTypes引入报错
import PropTypes from 'prop-types'; static propTypes = { //需要的类型 cx: PropTypes.xxx.isRequired, }; static defaultProps = { cx: 0, //类型默认值 };