笔记本:发展技巧的:hammer_and_wrench: 源码
类组件和功能组件的静态属性 class C extents Component { static sharedElement = ( route , otherRoute , showing ) => { } } const C = ( ) => ( < > < / > ) C . sharedElement = ( route , otherRoute , showing ) => { } 使用派生类型 const theme = { color : { } , spacing : { } , } ; export type Theme = typeof theme
用户评论