Created
May 29, 2020 22:44
-
-
Save GunaShekar02/857cb8844cbdc9fb700e17d087eac7d5 to your computer and use it in GitHub Desktop.
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, { Suspense } from "react"; | |
import Card from "../Card/Card"; | |
import styles from "./Details.module.css"; | |
const Details = () => { | |
return ( | |
<div className={styles.container}> | |
<div className={styles.card}> | |
<Suspense fallback={<h3>Loading Details...</h3>}> | |
<Card /> | |
</Suspense> | |
</div> | |
</div> | |
); | |
}; | |
export default Details; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment