mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-09 12:57:45 +00:00
20 lines
397 B
TypeScript
20 lines
397 B
TypeScript
import { PostInfo } from "types/index";
|
|
import { FunctionComponent } from "preact";
|
|
|
|
export type ComponentProps = {
|
|
post: PostInfo;
|
|
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;
|