UNPKG
@luongtt/create-react-base
Version:
latest (1.0.1)
1.0.1
1.0.0
This is utility package for create react app base on create-react-app package
@luongtt/create-react-base
/
sample
/
containers
/
Dashboard
/
index.jsx
12 lines
(10 loc)
•
219 B
JSX
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
React
from
'react'
;
import
{ useTranslation }
from
'react-i18next'
;
export
default
function
Dashboard
(
) {
const
{ t } =
useTranslation
();
return
(
<
div
>
<
h2
>
{t('dashboard')}
</
h2
>
</
div
>
); }