Files
seasoned/src/interfaces/IStatePopup.ts

17 lines
270 B
TypeScript

export enum PopupTypes {
Movie = "movie",
Show = "show",
Person = "person"
}
// export interface IPopupOpen {
// id: string | number;
// type: PopupTypes;
// }
export interface IStatePopup {
id: number | null;
type: PopupTypes | null;
open: boolean;
}