add headingLevel to Title for ConnectionSetupOAuthCard
-import { Card, CardBody, CardFooter, CardHeader, Title } from '@patternfly/react-core';
+import {
+ Card,
+ CardBody,
+ CardFooter,
+ CardHeader,
+ Title,
+} from '@patternfly/react-core';
import * as H from '@syndesis/history';
import * as React from 'react';
import { ButtonLink } from '../Layout';
@@ -11,9 +17,8 @@ export interface IConnectionSetupOAuthProps {
oauthSettingsHref: string;
}
-export const ConnectionSetupOAuthCard: React.FunctionComponent<
- IConnectionSetupOAuthProps
-> = ({
+export const ConnectionSetupOAuthCard: React.FunctionComponent<IConnectionSetupOAuthProps> =
+ ({
i18nTitle,
i18nDescription,
i18nOAuthSettingsButton,
@@ -27,7 +32,7 @@ export const ConnectionSetupOAuthCard: React.FunctionComponent<
}}
>
<CardHeader>
- <Title size="lg">
+ <Title size="lg" headingLevel={'h3'}>
<div>{i18nTitle}</div>
</Title>
</CardHeader>
