Update release notes for 5.18
This commit is contained in:
parent
f970edc7aa
commit
24497ca0f1
3 changed files with 72 additions and 29 deletions
|
@ -8,12 +8,16 @@ import { ReplacementValuesType } from '../types/I18N';
|
|||
import * as log from '../logging/log';
|
||||
|
||||
export type FullJSXType = Array<JSX.Element | string> | JSX.Element | string;
|
||||
export type IntlComponentsType =
|
||||
| undefined
|
||||
| Array<FullJSXType>
|
||||
| ReplacementValuesType<FullJSXType>;
|
||||
|
||||
export type Props = {
|
||||
/** The translation string id */
|
||||
id: string;
|
||||
i18n: LocalizerType;
|
||||
components?: Array<FullJSXType> | ReplacementValuesType<FullJSXType>;
|
||||
components?: IntlComponentsType;
|
||||
renderText?: RenderTextCallbackType;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue