default
talawa-admin • Docs
talawa-admin / components/Venues/VenueModal / default
Function: default()
> default(__namedParameters
): Element
A modal component for creating or updating venue information.
This component displays a modal window where users can enter details for a venue, such as name, description, capacity, and an image.
It also handles submitting the form data to create or update a venue based on whether the edit
prop is true or false.
Parameters
• __namedParameters: InterfaceVenueModalProps
Returns
Element
The rendered modal component.