CoastalCommitsPastes/client/lib/types.d.ts

13 lines
254 B
TypeScript
Raw Normal View History

2022-03-21 06:28:06 -04:00
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
}