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

fixing dialogs

This commit is contained in:
muerwre 2019-08-02 18:02:36 +07:00
parent 80fc6523b7
commit 9220f09fe5
6 changed files with 77 additions and 10 deletions

View file

@ -1,4 +1,5 @@
import { DetailedHTMLProps, InputHTMLAttributes } from "react";
import { DIALOGS } from "~/redux/modal/constants";
export type ITag = {
title: string;
@ -25,3 +26,8 @@ export type IInputTextProps = DetailedHTMLProps<
export type IIcon = string;
export type ValueOf<T> = T[keyof T];
export interface IDialogProps {
onRequestClose: () => void;
onDialogChange: (dialog: ValueOf<typeof DIALOGS>) => void;
}