Skip to main content

Interface: DynamicMonitorFieldsProperties

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

Props for the DynamicMonitorFields component.

Propertiesโ€‹

isLoading?โ€‹

readonly optional isLoading: boolean

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

Whether the form is in a loading state.


monitorTypeโ€‹

readonly monitorType: string

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

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:48

Change handlers for each field, keyed by field name.


valuesโ€‹

readonly values: Record<string, number | string>

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

Current values for each field, keyed by field name.