Default
Function: default()
function default(props): Element
Defined in: src/components/task-form.tsx:24
TaskForm component that allows users to submit tasks to a selected committee. It includes dropdowns for selecting a committee and a task, and an upload input for submitting a photo as proof of task completion.
Parameters
props
The properties for the TaskForm component.
className?
string = ''
Additional CSS classes to apply to the form.
committees?
object[] = []
The list of committees to choose from.
tasks?
object[] = []
The list of possible tasks to choose from.
Returns
Element
A JSX element representing the task submission form.