Skip to main content

Interface: DynamicMonitorFieldsProperties

Defined in: src/components/AddSiteForm/DynamicMonitorFields.tsx:39

Props for the DynamicMonitorFields component.

Propertiesโ€‹

isLoading?โ€‹

readonly optional isLoading: boolean

Defined in: src/components/AddSiteForm/DynamicMonitorFields.tsx:43

Whether the form is in a loading state.


monitorTypeโ€‹

readonly monitorType: string

Defined in: src/components/AddSiteForm/DynamicMonitorFields.tsx:47

The selected monitor type for which to render fields.


onChangeโ€‹

readonly onChange: Readonly<Record<string, (value: number | string) => void>>

Defined in: src/components/AddSiteForm/DynamicMonitorFields.tsx:51

Change handlers for each field, keyed by field name.


valuesโ€‹

readonly values: Readonly<Record<string, number | string>>

Defined in: src/components/AddSiteForm/DynamicMonitorFields.tsx:57

Current values for each field, keyed by field name.