default
talawa-admin • Docs
talawa-admin / components/ActionItems/ActionItemsContainer / default
Function: default()
> default(__namedParameters
): JSX.Element
ActionItemsContainer component is responsible for displaying, managing, and updating action items related to either an organization or an event. It provides a UI for previewing, updating, and deleting action items, as well as changing their status.
Parameters
• __namedParameters
• __namedParameters.actionItemsConnection: "Organization"
| "Event"
• __namedParameters.actionItemsData: undefined
| InterfaceActionItemInfo
[]
• __namedParameters.actionItemsRefetch
• __namedParameters.membersData: undefined
| InterfaceMemberInfo
[]
Returns
JSX.Element
Example
\<ActionItemsContainer
actionItemsConnection="Organization"
actionItemsData=\{actionItems\}
membersData=\{members\}
actionItemsRefetch=\{refetchActionItems\}
/\>
This example renders the ActionItemsContainer
component with organization connection, providing the necessary action items and members data along with a refetch function.