@finagraph/strongbox-finconnect-react
Version:
React components to integrate with Finagraph Strongbox
14 lines (13 loc) • 491 B
TypeScript
import { BaseTextContent } from './BaseTextContent';
export type TextLanguages = 'en' | 'es' | 'default';
export type TextReplacement = {
placeHolder: string;
replacement: string;
};
export declare class TextContent {
private activeLanguage;
private activeContent;
constructor(language: TextLanguages);
TextValue(textKey: keyof BaseTextContent): string;
TextValueWithReplacement(textKey: keyof BaseTextContent, ...args: TextReplacement[]): string;
}