render(){constItem=this.props.renderItem//這是傳遞過來的組件return({this.props.renderItem}//我想直接向這里面傳屬性)}
請問:react如何給通過屬性傳遞的組件 傳屬性
MYYA
2019-05-22 23:23:22
