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

example dialog

This commit is contained in:
muerwre 2019-08-02 17:49:53 +07:00
parent 06e72538d3
commit 80fc6523b7
5 changed files with 233 additions and 2 deletions

View file

@ -1,5 +1,6 @@
import { ValueOf } from "~/redux/types";
import { HorizontalExample } from "~/containers/examples/HorizontalExample";
import { ExampleDialog } from "~/containers/dialogs/ExampleDialog";
export const MODAL_ACTIONS = {
SET_SHOWN: "MODAL.SET_SHOWN",
@ -12,7 +13,7 @@ export const DIALOGS = {
};
export const DIALOG_CONTENT = {
[DIALOGS.TEST]: HorizontalExample
[DIALOGS.TEST]: ExampleDialog
};
export interface IDialogProps {

View file

@ -9,7 +9,7 @@ export interface IModalState {
}
const INITIAL_STATE: IModalState = {
is_shown: false,
is_shown: true,
dialog: DIALOGS.TEST
};