10 lines
365 B
TypeScript
10 lines
365 B
TypeScript
// Future i18n: swap these for `t("placeholder.<variant>")` lookups via
|
|
// react-i18next without touching the component.
|
|
export const DEFAULT_MESSAGES = {
|
|
empty: "No memos yet",
|
|
loading: "Loading…",
|
|
noResults: "Nothing matches that search",
|
|
notFound: "This page flew the coop",
|
|
} as const;
|
|
|
|
export type PlaceholderVariant = keyof typeof DEFAULT_MESSAGES;
|