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

10 lines
338 B
TypeScript
Raw Normal View History

2022-05-24 16:55:21 +00:00
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>()