Write a program that renders a class component. The input will contain a string representing the component's state. The output should be the rendered component. For example, if the input is count=5, the output should be <div>The count is: 5</div>.
Hints
Write a program that renders a class component. The input will contain a string representing the component's state. The output should be the rendered component. For example, if the input is count=5, the output should be <div>The count is: 5</div>.
Hints