import { DocumentTitle, ListPageHeader } from '@openshift-console/dynamic-plugin-sdk'; import { Trans, useTranslation } from 'react-i18next'; import { Content, PageSection } from '@patternfly/react-core'; import { CheckCircleIcon } from '@patternfly/react-icons'; import type { FC } from 'react'; import './example.css'; const ExamplePage: FC = () => { const { t } = useTranslation('plugin__console-plugin-template'); return ( <> {t('Hello, plugin!')} {t('Success!')} {' '} {t('Your plugin is working.')} 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{' '} exposedModules in package.json mapping the reference to the module. After cloning this project, replace references to console-template-plugin{' '} and other plugin metadata in package.json with values for your plugin. ); }; export default ExamplePage;