Skip to content

创建一个组件

此为函数组件写法

tsx
function View() {
  return <h1>Hello world</h1>
}

export default View

基于 MIT 许可发布