Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

374 B
Raw Blame
import type React from "react";

import type { JSX } from "react";

export type ReactTag = keyof JSX.IntrinsicElements;

export type PropsOf<TTag extends ReactTag> = TTag extends React.ElementType
  ? React.ComponentProps<TTag>
  : never;

export type Post = {
  slug: string;
  title: string;
  date: string;
  coverImage?: string;
  excerpt: string;
  content: string;
};