Created
December 26, 2021 07:52
-
-
Save codewithbernard/c67ec45d3094c2f3aba3d92b33fd1d3d to your computer and use it in GitHub Desktop.
This file contains hidden or 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 "./Image.module.css"; | |
| import background from "../../assets/img/background.png"; | |
| const Image = () => { | |
| return ( | |
| <article className={styles.article}> | |
| <img className={styles.image} src={background} alt="background" /> | |
| <h1 className={styles.header}>React Is Awesome</h1> | |
| </article> | |
| ); | |
| }; | |
| export default Image; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment