Update release notes for 5.18

This commit is contained in:
Scott Nonnenberg 2021-09-21 18:01:14 -07:00
parent f970edc7aa
commit 24497ca0f1
3 changed files with 72 additions and 29 deletions

View file

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