CoastalCommitsPastes/client/lib/types.d.ts
2022-03-21 03:28:06 -07:00

12 lines
254 B
TypeScript

export type PostVisibility = "unlisted" | "private" | "public" | "protected"
export type ThemeProps = {
theme: "light" | "dark" | string,
changeTheme: () => void
}
export type Document = {
title: string
content: string
id: string
}