mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Co-authored-by: Chris Svenningsen <chris@carbonfive.com> Co-authored-by: Sidney Keese <me@sidke.com>
14 lines
283 B
TypeScript
14 lines
283 B
TypeScript
export type RenderTextCallbackType = (options: {
|
|
text: string;
|
|
key: number;
|
|
}) => JSX.Element | string;
|
|
|
|
export type ReplacementValuesType = {
|
|
[key: string]: string;
|
|
};
|
|
|
|
export type LocalizerType = (
|
|
key: string,
|
|
values?: Array<string> | ReplacementValuesType
|
|
) => string;
|