Skip to content

API Reference / @gtkx/i18n / withSSR

Function: withSSR() ​

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

Returns ​

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