mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-06 21:07:47 +00:00
20 lines
413 B
TypeScript
20 lines
413 B
TypeScript
import { ExtendedPostInfo } from "types/index";
|
|
import { FunctionComponent } from "preact";
|
|
|
|
export type ComponentProps = {
|
|
post: ExtendedPostInfo;
|
|
postHtml: string;
|
|
height: number;
|
|
width: number;
|
|
authorImageMap: Record<string, string>;
|
|
};
|
|
|
|
export type Layout = {
|
|
name: string;
|
|
css: string;
|
|
Component: FunctionComponent<ComponentProps>;
|
|
};
|
|
|
|
export const PAGE_WIDTH = 1280;
|
|
export const PAGE_HEIGHT = 640;
|