📜  反应静态打字稿属性 - 打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:28.091000             🧑  作者: Mango

代码示例1
const PanelComponent: React.FC = (props) => {
 ...
}

export const Panel = Object.assign(PanelComponent, { PanelFieldset })