Default

Function: default()

function default(props): Element

Defined in: src/components/manage-periods/manage-period-item.tsx:22

ManagePeriodItem component that allows users to manage a period. It provides input fields for the period name, start date, and end date, along with buttons to save changes or delete the period.

Parameters

props

The properties passed to the component.

className?

string = ''

Optional additional class names for styling.

period

{ endDate: string; id: string; name: string; startDate: string; }

The period object containing its details.

period.endDate

string = ...

period.id

string = ...

period.name

string = ...

period.startDate

string = ...

Returns

Element

A JSX element that represents a form for managing a period.