Files
Ivan Vasilov 156e8fd9b7 fix: Minor fixes for UI Library (#34535)
* Regenerate the registry.

* Fix the paths of the ai editor rules.

* Fix headings on clients and auth blocks.

* Fix realtime chat and avatar demos.

* Setup mdx-lint for the ui-library. Fix some obvious wordings.

* Fix the tooltips for the examples. Reorder the example pages.
2025-03-30 09:56:03 +02:00

20 lines
542 B
TypeScript

import { Metadata } from 'next'
import { BaseInjector } from './../base-injector'
export const metadata: Metadata = {
title: 'Realtime Cursor Example',
}
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<>
<BaseInjector />
<div className="flex w-full items-center justify-center p-6 md:p-10 preview bg-surface-100 h-screen">
<div className="w-full max-w-sm flex flex-col gap-4 justify-center items-center">
{children}
</div>
</div>
</>
)
}