2023-03-25 05:26:42 +00:00
|
|
|
import { ReactElement } from 'react';
|
|
|
|
|
|
|
|
import {
|
2023-03-28 20:55:30 +00:00
|
|
|
INPUT_ID_AI_DOMAIN,
|
|
|
|
INPUT_ID_AI_PREFIX,
|
|
|
|
INPUT_ID_AI_SEQUENCE,
|
|
|
|
} from './AnIdInputGroup';
|
2023-03-25 05:26:42 +00:00
|
|
|
import {
|
2023-03-28 20:55:30 +00:00
|
|
|
INPUT_ID_ANC_DNS,
|
|
|
|
INPUT_ID_ANC_MTU,
|
|
|
|
INPUT_ID_ANC_NTP,
|
|
|
|
} from './AnNetworkConfigInputGroup';
|
2023-03-25 05:26:42 +00:00
|
|
|
import AddManifestInputGroup from './AddManifestInputGroup';
|
|
|
|
|
|
|
|
const EditManifestInputGroup = <
|
|
|
|
M extends {
|
|
|
|
[K in
|
2023-03-28 20:55:30 +00:00
|
|
|
| typeof INPUT_ID_AI_DOMAIN
|
|
|
|
| typeof INPUT_ID_AI_PREFIX
|
|
|
|
| typeof INPUT_ID_AI_SEQUENCE
|
|
|
|
| typeof INPUT_ID_ANC_DNS
|
|
|
|
| typeof INPUT_ID_ANC_MTU
|
|
|
|
| typeof INPUT_ID_ANC_NTP]: string;
|
2023-03-25 05:26:42 +00:00
|
|
|
},
|
|
|
|
>({
|
|
|
|
formUtils,
|
|
|
|
knownFences,
|
|
|
|
knownUpses,
|
|
|
|
previous,
|
|
|
|
}: EditManifestInputGroupProps<M>): ReactElement => (
|
|
|
|
<AddManifestInputGroup
|
|
|
|
formUtils={formUtils}
|
|
|
|
knownFences={knownFences}
|
|
|
|
knownUpses={knownUpses}
|
|
|
|
previous={previous}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default EditManifestInputGroup;
|