menghasilkan komponen bereaksi
npm install -g generate-component-react
Philan ISithembiso
npm install -g generate-component-react
generate component <component-name> -f
function App() {
return(
<>
<Abc/>
</>
);
}
export default App;
function Abc()
{
return (<b> Abc Text</b>)
}
/*<Abc/> will be <b>Abc text </b>*/