добавлен объект локализаци

This commit is contained in:
DmitriyB
2022-07-26 17:58:30 +05:00
parent 2cb028ae16
commit 0a550593e5
6 changed files with 128 additions and 5 deletions
@@ -20,8 +20,9 @@ export const CalendarComponent:React.FC<TProps> = React.memo((props) => {
9: 'Октября',
10: 'Ноября',
11: 'Декабря'
}
return <Calendar
}
return <Calendar
// locale="en"
showDoubleView={false}
next2Label={null}
prev2Label={null}
+1 -1
View File
@@ -1,5 +1,5 @@
import React from "react";
import { PinkButton } from "./button";
import { PinkButton } from "./pinkButton";
type TProps = {
textButton: string
+1 -1
View File
@@ -2,7 +2,7 @@ import React, { useState } from "react";
import './form.css';
import { useForm, Controller } from 'react-hook-form';
import { InputProps, styled, TextField, TextFieldProps } from "@mui/material";
import { PinkButton } from "../button";
import { PinkButton } from "../pinkButton";
import { StyledOptions } from "@emotion/styled";
import { MUIStyledCommonProps } from "@mui/system";