Created
August 13, 2022 04:28
How To Style And Write CSS In React
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 Styles from "./App.module.css"; | |
export default function App() { | |
return ( | |
<div className={Styles.block}> | |
<h2> | |
React is a free and open-source front-end JavaScript library for | |
building user interfaces based on UI components. It is maintained by | |
Meta and a community of individual developers and companies | |
</h2> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment