remove defunct props from ConfirmationDialog
@@ -102,7 +102,8 @@ export interface IConfirmationDialogProps {
/**
* A modal dialog to display when an object is being deleted.
*/
-export const ConfirmationDialog: React.FunctionComponent<IConfirmationDialogProps> = ({
+export const ConfirmationDialog: React.FunctionComponent<IConfirmationDialogProps> =
+ ({
buttonStyle,
i18nCancelButtonText,
i18nConfirmButtonText,
@@ -176,15 +177,15 @@ export const ConfirmationDialog: React.FunctionComponent<IConfirmationDialogProp
</Button>,
]}
width={'50%'}
- isFooterLeftAligned={true}
- hideTitle={true}
>
- <Stack gutter={'lg'}>
+ <Stack hasGutter={true}>
<StackItem>
- <Split gutter={'sm'}>
+ <Split hasGutter={true}>
{iconFragment && <SplitItem>{iconFragment}</SplitItem>}
<SplitItem isFilled={true}>
- <Title size={'lg'}>{i18nConfirmationMessage}</Title>
+ <Title size={'lg'} headingLevel={'h4'}>
+ {i18nConfirmationMessage}
+ </Title>
</SplitItem>
</Split>
</StackItem>
