28 lines
712 B
TypeScript
28 lines
712 B
TypeScript
import React from 'react';
|
|
|
|
import { Form, Content, Title } from '@patternfly/react-core';
|
|
|
|
import Review from './ReviewStep';
|
|
|
|
import { useAppSelector } from '../../../../store/hooks';
|
|
import {
|
|
selectBlueprintDescription,
|
|
selectBlueprintName,
|
|
} from '../../../../store/wizardSlice';
|
|
|
|
const ReviewStep = () => {
|
|
const blueprintName = useAppSelector(selectBlueprintName);
|
|
const blueprintDescription = useAppSelector(selectBlueprintDescription);
|
|
|
|
return (
|
|
<Form>
|
|
<Title headingLevel="h1" size="xl">
|
|
Review {blueprintName} blueprint
|
|
</Title>
|
|
{blueprintDescription && <Content>{blueprintDescription}</Content>}
|
|
<Review />
|
|
</Form>
|
|
);
|
|
};
|
|
|
|
export default ReviewStep;
|