Skip to main content

default

talawa-adminDocs


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\}
/\>

Defined in

src/components/Venues/VenueCard.tsx:39