Skip to main content

Interface: DynamicMonitorFieldsProperties

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

Props for the DynamicMonitorFields component.

Propertiesโ€‹

isLoading?โ€‹

readonly optional isLoading?: boolean;

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

Whether the form is in a loading state.


monitorTypeโ€‹

readonly monitorType: string;

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

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

Change handlers for each field, keyed by field name.


valuesโ€‹

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

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

Current values for each field, keyed by field name.