From 244a6e0e81b6bdaf93715bb3d507c52cb4aa3b86 Mon Sep 17 00:00:00 2001 From: Sapna Jha Date: Wed, 22 Mar 2023 13:48:47 +0530 Subject: [PATCH] Updated BookingCard.md to render component successfully --- src/components/BookingCard/BookingCard.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/BookingCard/BookingCard.md b/src/components/BookingCard/BookingCard.md index 41dd3334..9c0a8e3d 100644 --- a/src/components/BookingCard/BookingCard.md +++ b/src/components/BookingCard/BookingCard.md @@ -8,8 +8,9 @@ This is a resuasble component for dispalying rooms details such as image, name, ## How to use the component -Import the component to `pages/index.js` -`import BookingCard from "../components/BookingCard";` +Import the component to `pages/index.js` to successfully render and use the component +* To import component: `import BookingCard from "../components/BookingCard";` and +* To import icons: `import {faBuilding,faUser,faDollar,faBed} from "@fortawesome/free-solid-svg-icons"` ## How to handle props to the component