17 lines
270 B
TypeScript
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;
|
|
}
|