diff options
| author | Valentin Popov <valentin@popov.link> | 2026-02-05 13:19:56 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-02-05 13:19:56 +0300 |
| commit | efa89313fa4152252b477aafd88f7cf4a66747d8 (patch) | |
| tree | 5939b251fe1bbc6bea3881a71154cabd3aa538ec /admin/src/pages/HomePage.tsx | |
| parent | f6de8611955bf382612996500efba21a2d64ea1f (diff) | |
| download | strapi-plugin-checkbox-list-efa89313fa4152252b477aafd88f7cf4a66747d8.tar.xz strapi-plugin-checkbox-list-efa89313fa4152252b477aafd88f7cf4a66747d8.zip | |
Initial Strapi plugin project
Diffstat (limited to 'admin/src/pages/HomePage.tsx')
| -rw-r--r-- | admin/src/pages/HomePage.tsx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/admin/src/pages/HomePage.tsx b/admin/src/pages/HomePage.tsx new file mode 100644 index 0000000..bff4f4e --- /dev/null +++ b/admin/src/pages/HomePage.tsx @@ -0,0 +1,16 @@ +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 }; |
