V2Wizard: Add Packages step to the Wizard
This adds Packages to the new Wizard as a substep of the Content step.
This commit is contained in:
parent
607bd6ed45
commit
ac4a0829e2
2 changed files with 25 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ import { useNavigate } from 'react-router-dom';
|
|||
import DetailsStep from './steps/Details';
|
||||
import ImageOutputStep from './steps/ImageOutput';
|
||||
import OscapStep from './steps/Oscap';
|
||||
import PackagesStep from './steps/Packages';
|
||||
import RegistrationStep from './steps/Registration';
|
||||
import RepositoriesStep from './steps/Repositories';
|
||||
import ReviewStep from './steps/Review';
|
||||
|
|
@ -247,6 +248,14 @@ const CreateImageWizard = () => {
|
|||
>
|
||||
<RepositoriesStep />
|
||||
</WizardStep>,
|
||||
<WizardStep
|
||||
name="Additional packages"
|
||||
id="wizard-additional-packages"
|
||||
key="wizard-additional-packages"
|
||||
footer={<CustomWizardFooter disableNext={false} />}
|
||||
>
|
||||
<PackagesStep />
|
||||
</WizardStep>,
|
||||
]}
|
||||
></WizardStep>
|
||||
<WizardStep
|
||||
|
|
|
|||
16
src/Components/CreateImageWizardV2/steps/Packages/index.tsx
Normal file
16
src/Components/CreateImageWizardV2/steps/Packages/index.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import React from 'react';
|
||||
|
||||
import { Text, Form, Title } from '@patternfly/react-core';
|
||||
|
||||
const PackagesStep = () => {
|
||||
return (
|
||||
<Form>
|
||||
<Title headingLevel="h2">Additional packages</Title>
|
||||
<Text>
|
||||
Images built with Image Builder include all required packages.
|
||||
</Text>
|
||||
</Form>
|
||||
);
|
||||
};
|
||||
|
||||
export default PackagesStep;
|
||||
Loading…
Add table
Add a link
Reference in a new issue