default
talawa-admin • Docs
talawa-admin / components/Venues/VenueCard / default
Function: default()
> default(__namedParameters
): Element
Represents a card component displaying venue information.
This component renders a card with the venue's image, name, capacity, and description. It also provides buttons to edit or delete the venue.
Parameters
• __namedParameters: InterfaceVenueCardProps
Returns
Element
JSX.Element - The VenueCard
component.
Example
\<VenueCard
venueItem=\{venue\}
index=\{0\}
showEditVenueModal=\{handleShowEditVenueModal\}
handleDelete=\{handleDeleteVenue\}
/\>