Last active
July 22, 2023 17:18
-
-
Save dineshdeveloper1/312c0184a98930f2bb66a65e1b214a8d to your computer and use it in GitHub Desktop.
React Class Component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
class Hello extends React.Component { | |
render() { | |
return ( | |
<> | |
<h2>This is class component</h2> | |
</> | |
) | |
} | |
}; | |
export default Hello; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment