Componente de função no React
// function component in react
import React from 'react';
const FunctionComponent = function() {
return (
<div>
<h1>React Function Component</h1>
</div>
)
}
export default FunctionComponent;
Chetan Nada