会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
笔记库
博客园
首页
新随笔
联系
管理
2021年6月30日
typescript之defaultProps
摘要: React 之 Default Prop Values React 官方文档 - Default Prop Values 方式一: Class 类名.属性名 通过组件的 defaultProps 属性可为其 Props 指定默认值。 class Greeting extends React.Comp
阅读全文
posted @ 2021-06-30 13:39 qiqi715
阅读(890)
评论(0)
推荐(0)
编辑
公告