Skip to content

Instantly share code, notes, and snippets.

@Mohammad-Faisal
Created April 23, 2021 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Mohammad-Faisal/f6b308e7e4d952799aa2d585224e1f54 to your computer and use it in GitHub Desktop.
Save Mohammad-Faisal/f6b308e7e4d952799aa2d585224e1f54 to your computer and use it in GitHub Desktop.
import reservationCard from './ReservationCard';
const ReservationItem = <ReservationCard />;
@lmle
Copy link

lmle commented May 5, 2021

Suggestion

import ReservationCard from './ReservationCard';

const ReservationItem = <ReservationCard />;

Thanks for the article

@Mohammad-Faisal
Copy link
Author

Mohammad-Faisal commented May 6, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment