Constructor
new UpcomingEvents() → {React.Component}
- Source:
Returns:
A component displaying upcoming events for a user.
- Type
- React.Component
Methods
(static) deleteUpcomingEvent(id) → {Promise.<boolean>}
Deletes a selected upcoming event.
Parameters:
Name | Type | Description |
---|---|---|
id |
string | The ID of the event to be deleted. |
- Source:
Returns:
A promise that resolves to true upon successful deletion.
- Type
- Promise.<boolean>
(static) handleFilterChange(event)
Handles changes to the event filter.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The event object from the filter change. |
- Source:
(static) handleSearchChange(event)
Handles changes in the search input and filters the events accordingly.
Parameters:
Name | Type | Description |
---|---|---|
event |
Event | The event object from the search input change. |
- Source: