
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;
|