Default
Function: default()
function default(props): Element
Defined in: src/components/manage-possible-tasks/possible-task-item.tsx:17
PossibleTaskItem component that displays a possible task with its details and provides an option to edit the task.
Parameters
props
The properties passed to the component.
className?
string = ''
Optional additional class names for styling.
possibleTask
{ description
: string
; id
: string
; isActive
: boolean
; maxPerPeriod?
: null
| number
; points
: number
; shortDescription
: string
; }
The possible task object containing its details.
possibleTask.description
string = ...
possibleTask.id
string = ...
possibleTask.isActive
boolean = ...
possibleTask.maxPerPeriod?
null | number = ...
possibleTask.points
number = ...
possibleTask.shortDescription
string = ...
Returns
Element
A JSX element that represents a possible task item.