You can also use an ES6 class to define a component: ... user-defined component, it passes JSX attributes and children to this component as a single object.
確定! 回上一頁