You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I want to use Plural JSX element imported from: import { Plural } from "@lingui/macro";
In the documentation from the website https://lingui.dev/ref/macro#plural-1, it is reported that format is available. However, PluralChoiceProps doesn't contain it:
typePluralChoiceProps={value: string|number/** Offset of value when calculating plural forms */offset?: numberzero?: ReactNodeone?: ReactNodetwo?: ReactNodefew?: ReactNodemany?: ReactNode/** Catch-all option */other: ReactNode/** Exact match form, corresponds to =N rule */[digit: `_${number}`]: ReactNode}&CommonProps
Expected behavior format to be available in the <Plural> props
jsLingui version 4.13.0
SWC version ("@lingui/swc-plugin) 4.0.9
Macro support:
[x ] I'm using SWC with @lingui/swc-plugin
I'm using Babel with babel-macro-plugin
I'm not using macro
Framework used: NextJs
The text was updated successfully, but these errors were encountered:
Describe the bug
I want to use Plural JSX element imported from:
import { Plural } from "@lingui/macro";
In the documentation from the website https://lingui.dev/ref/macro#plural-1, it is reported that
format
is available. However,PluralChoiceProps
doesn't contain it:Expected behavior
format
to be available in the<Plural>
props4.13.0
4.0.9
@lingui/swc-plugin
babel-macro-plugin
The text was updated successfully, but these errors were encountered: