debian-image-builder-frontend/src/Components/CreateImageWizard/steps/Timezone/index.tsx
regexowl 6427dc5285 Wizard: Add Timezone dropdown and NTP servers input
This adds a Timezone select, the select is typeahead and allows to filter through all defaultTimezones. It's also scrollable so it doesn't take up all of the space.

The NTP servers are currently in a text input, the server is added by confirming with a space, comma or an Enter, making the server a chip and adding it to the array of NTP servers.
2024-12-06 13:53:56 -06:00

21 lines
493 B
TypeScript

import React from 'react';
import { Text, Form, Title } from '@patternfly/react-core';
import NtpServersInput from './components/NtpServersInput';
import TimezoneDropDown from './components/TimezoneDropDown';
const TimezoneStep = () => {
return (
<Form>
<Title headingLevel="h1" size="xl">
Timezone
</Title>
<Text>Select a timezone for your image.</Text>
<TimezoneDropDown />
<NtpServersInput />
</Form>
);
};
export default TimezoneStep;