add required headingLevel prop for ConnectorAuthorization
-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 } from '../Layout';
@@ -10,9 +16,8 @@ export interface IConnectorAuthorizationProps {
isConnecting: boolean;
}
-export const ConnectorAuthorization: React.FunctionComponent<
- IConnectorAuthorizationProps
-> = ({
+export const ConnectorAuthorization: React.FunctionComponent<IConnectorAuthorizationProps> =
+ ({
i18nTitle,
i18nDescription,
i18nConnectButton,
@@ -26,7 +31,7 @@ export const ConnectorAuthorization: React.FunctionComponent<
}}
>
<CardHeader>
- <Title size="lg" className="metrics-uptime__header">
+ <Title size="lg" className="metrics-uptime__header" headingLevel={'h3'}>
<div>{i18nTitle}</div>
</Title>
</CardHeader>
