[英]React Native what is type Props?
today I made a new React Native app and noticed something different than the last time I created a native app. 今天我制作了一个新的React Native应用程序并注意到与上次创建本机应用程序时不同的东西。
type Props = {}
export default class App extends Component<Props> {}
What type Props = {};
什么
type Props = {};
is? 是什么? I can't really find anything about it.
我真的找不到任何关于它的东西。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.