Render disappearing message timers generically
This commit is contained in:
parent
c1730e055f
commit
736075322c
16 changed files with 372 additions and 307 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue