Make ICU types stricter for inline JSX
This commit is contained in:
parent
9e7a6ea8bc
commit
6655bfc576
52 changed files with 220 additions and 200 deletions
|
@ -5,7 +5,7 @@ import React from 'react';
|
|||
|
||||
import { Button, ButtonVariant } from './Button';
|
||||
import { Modal } from './Modal';
|
||||
import { Intl } from './Intl';
|
||||
import { I18n } from './I18n';
|
||||
import { openLinkInWebBrowser } from '../util/openLinkInWebBrowser';
|
||||
import type { LocalizerType } from '../types/Util';
|
||||
import { SAFETY_NUMBER_URL } from '../types/support';
|
||||
|
@ -26,15 +26,15 @@ export function SafetyNumberNotReady({
|
|||
return (
|
||||
<div className="module-SafetyNumberNotReady">
|
||||
<div>
|
||||
<Intl i18n={i18n} id="icu:SafetyNumberNotReady__body" />
|
||||
<I18n i18n={i18n} id="icu:SafetyNumberNotReady__body" />
|
||||
</div>
|
||||
|
||||
<Modal.ButtonFooter>
|
||||
<Button onClick={onLearnMore} variant={ButtonVariant.Secondary}>
|
||||
<Intl i18n={i18n} id="icu:SafetyNumberNotReady__learn-more" />
|
||||
<I18n i18n={i18n} id="icu:SafetyNumberNotReady__learn-more" />
|
||||
</Button>
|
||||
<Button onClick={onClose} variant={ButtonVariant.Secondary}>
|
||||
<Intl i18n={i18n} id="icu:ok" />
|
||||
<I18n i18n={i18n} id="icu:ok" />
|
||||
</Button>
|
||||
</Modal.ButtonFooter>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue