Default

Function: default()

function default(props): Element

Defined in: src/components/manage-submitted-tasks/manage-submitted-tasks-list.tsx:19

ManageSubmittedTaskList component that displays a list of submitted tasks along with their possible tasks, allowing for management actions.

Parameters

props

The properties passed to the component.

getSubmittedTasksAction

(page) => Promise<Response<{ pageAmount: number; tasks: object[]; }>>

The action to fetch submitted tasks.

possibleTasks

object[]

The list of possible tasks.

Returns

Element

A JSX element that represents the list of submitted tasks.