add required headingLevel props to ConnectionDetailsOauthCard
-import { Card, CardBody, CardFooter, CardHeader, Title } from '@patternfly/react-core';
+import {
+ Card,
+ CardBody,
+ CardFooter,
+ CardHeader,
+ Title,
+} from '@patternfly/react-core';
import * as React from 'react';
import { ButtonLink, Loader, PageSection } from '../Layout';
@@ -13,9 +19,8 @@ export interface IConnectionDetailsOauthCardProps {
isReconnecting: boolean;
}
-export const ConnectionDetailsOauthCard: React.FunctionComponent<
- IConnectionDetailsOauthCardProps
-> = ({
+export const ConnectionDetailsOauthCard: React.FunctionComponent<IConnectionDetailsOauthCardProps> =
+ ({
i18nTitle,
i18nDescription,
i18nValidateButton,
@@ -28,7 +33,9 @@ export const ConnectionDetailsOauthCard: React.FunctionComponent<
<PageSection>
<Card>
<CardHeader>
- <Title size="lg">{i18nTitle}</Title>
+ <Title size="lg" headingLevel={'h3'}>
+ {i18nTitle}
+ </Title>
</CardHeader>
<CardBody>{i18nDescription}</CardBody>
<CardFooter>
