create a class component in react how to install code example Example: react component example const element = <div />;