feat: improve instantiation of intl
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { IntlConfig } from "react-intl"
|
||||
|
||||
export type ServerIntlProviderProps = React.PropsWithChildren<{
|
||||
intl: IntlConfig
|
||||
}>
|
||||
export type ClientIntlProviderProps = React.PropsWithChildren<
|
||||
Pick<IntlConfig, "defaultLocale" | "locale" | "messages">
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user