UNPKG

create-new-react-component

Version:

an utility to create a new react component with a single command

18 lines (15 loc) 322 B
import React from 'react'; class TestComponent extends React.Component { constructor(props) { super(props); this.state = {}; } render() { return ( <> {/* Add your component content here */} </> ); } } export default TestComponent;