13 lines
299 B
TypeScript
13 lines
299 B
TypeScript
import { Dispatch, SetStateAction } from 'react';
|
|
|
|
export interface IAdvertisment {
|
|
title: string;
|
|
image: string;
|
|
description: string;
|
|
}
|
|
|
|
export interface IAdvertismentContext {
|
|
advertismentData: IAdvertisment | null;
|
|
setAdvertismentData: Dispatch<SetStateAction<IAdvertisment | null>>;
|
|
}
|