import { useIntlayer } from 'next-intlayer/server'; import type { FC } from 'react'; /** * Server component reading its content through the ambient locale seeded by the * single `IntlayerProvider` in the layout — no provider around this page. */ export const ServerComponentExample: FC = () => { const { title, description } = useIntlayer('server-component-example'); return (

{title}

{description}

); };