1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed typos

This commit is contained in:
muerwre 2019-08-02 18:43:24 +07:00
parent 6066c91060
commit 840af25df4
17 changed files with 438 additions and 125 deletions

View file

@ -1,17 +1,17 @@
import React, { FC, useState } from "react";
import { ScrollDialog } from "../ScrollDialog";
import { IDialogProps } from "~/redux/modal/constants";
import { useCloseOnEscape } from "~/utils/hooks";
import { Group } from "~/components/containers/Group";
import { InputText } from "~/components/input/InputText";
import { Button } from "../../../components/input/Button/index";
import { Padder } from "~/components/containers/Padder";
import * as styles from "./styles.scss";
import React, { FC, useState } from 'react';
import { ScrollDialog } from '../ScrollDialog';
import { IDialogProps } from '~/redux/modal/constants';
import { useCloseOnEscape } from '~/utils/hooks';
import { Group } from '~/components/containers/Group';
import { InputText } from '~/components/input/InputText';
import { Button } from '../../../components/input/Button/index';
import { Padder } from '~/components/containers/Padder';
import * as styles from './styles.scss';
type IProps = IDialogProps & {};
const LoginDialog: FC<IProps> = ({ onRequestClose }) => {
const [username, setUserName] = useState("");
const [password, setPassword] = useState("");
const [username, setUserName] = useState('');
const [password, setPassword] = useState('');
const title = <div>title</div>;
@ -30,6 +30,11 @@ const LoginDialog: FC<IProps> = ({ onRequestClose }) => {
<Padder>
<div className={styles.wrap}>
<Group>
<h2>РЕШИТЕЛЬНО ВОЙТИ</h2>
<div />
<div />
<InputText title="Логин" handler={setUserName} value={username} />
<InputText title="Пароль" handler={setPassword} value={password} />
</Group>