UNPKG

464 BTypeScriptView Raw
1import * as React from 'react';
2import { FormatPluralOptions } from '@formatjs/intl';
3interface Props extends FormatPluralOptions {
4 value: number;
5 other: React.ReactNode;
6 zero?: React.ReactNode;
7 one?: React.ReactNode;
8 two?: React.ReactNode;
9 few?: React.ReactNode;
10 many?: React.ReactNode;
11 children?(value: React.ReactNode): React.ReactElement | null;
12}
13declare const FormattedPlural: React.FC<Props>;
14export default FormattedPlural;