Render disappearing message timers generically

This commit is contained in:
Evan Hahn 2021-05-03 18:24:40 -05:00 committed by GitHub
parent c1730e055f
commit 736075322c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 372 additions and 307 deletions

View file

@ -20,10 +20,10 @@ export type ReplacementValuesType = {
[key: string]: string | undefined;
};
export type LocalizerType = (
key: string,
values?: Array<string | null> | ReplacementValuesType
) => string;
export type LocalizerType = {
(key: string, values?: Array<string | null> | ReplacementValuesType): string;
getLocale(): string;
};
export enum ThemeType {
'light' = 'light',