Skip to content

创建一个函数式组件

示例

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

export default View

基于 MIT 许可发布