mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-08-26 22:49:59 +05:30
18 lines
344 B
TypeScript
18 lines
344 B
TypeScript
import { PopupConfig } from './reducer';
|
|
|
|
export const POPUP_CREATE = 'POPUP_CREATE';
|
|
export function create(payload: PopupConfig) {
|
|
return {
|
|
type: POPUP_CREATE,
|
|
payload,
|
|
};
|
|
}
|
|
|
|
export const POPUP_DESTROY = 'POPUP_DESTROY';
|
|
export function destroy(popup: PopupConfig) {
|
|
return {
|
|
type: POPUP_DESTROY,
|
|
payload: popup,
|
|
};
|
|
}
|