Skip to main content

Interface: DynamicMonitorFieldsProperties

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

Props for the DynamicMonitorFields component.

Propertiesโ€‹

isLoading?โ€‹

readonly optional isLoading: boolean

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

Whether the form is in a loading state.


monitorTypeโ€‹

readonly monitorType: string

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

The selected monitor type for which to render fields.


onChangeโ€‹

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

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

Change handlers for each field, keyed by field name.


valuesโ€‹

readonly values: Record<string, number | string>

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

Current values for each field, keyed by field name.