1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-23 07:04:22 +00:00
festa/contexts/postcard.tsx

9 lines
338 B
TypeScript

import { createStateContext } from "../hooks/useStateContext";
import { StaticImageData } from "next/image";
import * as Telegram from "../utils/telegram"
/**
* Context containing data about the website's current postcard, the blurred background image.
*/
export const PostcardContext = createStateContext<string | StaticImageData>()