TodoItem.propTypes={
  content:PropTypes.string,
  text:PropTypes.string.isRequired,
  handleDeleteItem:PropTypes.func,
  index:PropTypes.number
}
TodoItem.defaultProps={
  text:"1",
}

 

相关文章:

  • 2022-12-23
  • 2021-05-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2022-12-23
  • 2021-07-07
猜你喜欢
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案