feat: add en language
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Drawer } from 'antd';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { Avatar, Typography } from 'antd';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
interface ContentDrawerProps {
|
||||
open: boolean;
|
||||
@@ -15,6 +16,7 @@ export default function ContentDrawer({
|
||||
children,
|
||||
type,
|
||||
}: ContentDrawerProps) {
|
||||
const { t } = useTranslation();
|
||||
const [width, setWidth] = useState<number | string>('30%');
|
||||
|
||||
const calculateWidths = () => {
|
||||
@@ -123,7 +125,7 @@ export default function ContentDrawer({
|
||||
fontSize: '20px',
|
||||
}}
|
||||
>
|
||||
Новая учетная запись
|
||||
{t('newAccount')}
|
||||
</div>
|
||||
|
||||
<div
|
||||
@@ -133,6 +135,7 @@ export default function ContentDrawer({
|
||||
height: '24px',
|
||||
width: '24px',
|
||||
}}
|
||||
onClick={closeDrawer}
|
||||
>
|
||||
<img
|
||||
src="./icons/drawer/delete.svg"
|
||||
|
Reference in New Issue
Block a user