You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
322 B

export type Pizza = {
id: number;
title: string;
description: string;
price: number[];
img: string[];
};
export enum Status {
LOADING = 'loading',
SUCCESS = 'completed',
ERROR = 'error',
}
export interface PizzaSliceState {
pizza_items: Pizza[];
pizza_status: Status;
}