Skip to content

API Reference / @gtkx/i18n / withSSR

Function: withSSR()

withSSR(): <Props>(WrappedComponent) => {(__namedParameters): FunctionComponentElement<Props>; getInitialProps: (ctx) => Promise<any>; }

Defined in: node_modules/.pnpm/react-i18next@17.0.12_i18next@26.4.0_typescript@6.0.3__react@19.2.8_typescript@6.0.3/node_modules/react-i18next/index.d.ts:260

Returns

<Props>(WrappedComponent) => {(__namedParameters): FunctionComponentElement<Props>; getInitialProps: (ctx) => Promise<any>; }

Released under the MPL-2.0 License.