17 lines
354 B
TypeScript
17 lines
354 B
TypeScript
import { Main } from '@strapi/design-system';
|
|||
|
|
import { useIntl } from 'react-intl';
|
||
|
|
|
||
|
|
import { getTranslation } from '../utils/getTranslation';
|
||
|
|
|
||
|
|
const HomePage = () => {
|
||
|
|
const { formatMessage } = useIntl();
|
||
|
|
|
||
|
|
return (
|
||
|
|
<Main>
|
||
|
|
<h1>Welcome to {formatMessage({ id: getTranslation('plugin.name') })}</h1>
|
||
|
|
</Main>
|
||
|
|
);
|
||
|
|
};
|
||
|
|
|
||
|
|
export { HomePage };
|