forked from osbuild/image-builder-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.tsx
More file actions
30 lines (25 loc) · 767 Bytes
/
index.tsx
File metadata and controls
30 lines (25 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import React from 'react';
import { Content, Form, Title } from '@patternfly/react-core';
import HostnameInput from './components/HostnameInput';
import { CustomizationLabels } from '../../../sharedComponents/CustomizationLabels';
const HostnameStep = () => {
return (
<Form
onSubmit={(event) => {
// this prevents from reloading the wizard on pressing enter
event.preventDefault();
}}
>
<CustomizationLabels customization='hostname' />
<Title headingLevel='h1' size='xl'>
Hostname
</Title>
<Content>
Define the hostname to uniquely identify this image within your network
environment.
</Content>
<HostnameInput />
</Form>
);
};
export default HostnameStep;