Default
Function: default()
function default(props): Element
Defined in: src/components/manage-committee/committee-item.tsx:21
CommitteeItem component that allows users to rename or delete a committee. It provides an input field for the committee name and buttons for saving changes or deleting the committee.
Parameters
props
The properties passed to the component.
className?
string = ''
Optional additional class names for styling.
committee
{ name
: string
; }
The committee object containing its name and other details.
committee.name
string = ...
Returns
Element
A JSX element that represents a form for managing a committee.