import * as React from 'react'; import Helmet from 'react-helmet'; import { useTranslation } from 'react-i18next'; import { Page, PageSection, Text, TextContent, Title } from '@patternfly/react-core'; import { CheckCircleIcon } from '@patternfly/react-icons'; import './example.css'; export default function ExamplePage() { const { t } = useTranslation('plugin__console-plugin-template'); return ( <> {t('Hello, Plugin!')} {t('Hello, Plugin!')} {t('Success!')} {' '} {t('Your plugin is working.')} {t( 'This is a custom page contributed by the console plugin template. The extension that adds the page is declared in console-extensions.json in the project root along with the corresponding nav item. Update console-extensions.json to change or add extensions. Code references in console-extensions.json must have a corresponding property', )} {t('exposedModules')}{' '} {t('in package.json mapping the reference to the module.')} {t('After cloning this project, replace references to')}{' '} {t('console-template-plugin')}{' '} {t('and other plugin metadata in package.json with values for your plugin.')} ); }