mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-26 00:46:23 +02:00
16 lines
288 B
TypeScript
16 lines
288 B
TypeScript
|
|
import * as React from "react";
|
||
|
|
|
||
|
|
// 1. import `NextUIProvider` component
|
||
|
|
import {NextUIProvider} from "@nextui-org/react";
|
||
|
|
|
||
|
|
export default function Providers({
|
||
|
|
children,
|
||
|
|
}: {
|
||
|
|
children: React.ReactNode;
|
||
|
|
}) {
|
||
|
|
return (
|
||
|
|
<NextUIProvider>
|
||
|
|
{children}
|
||
|
|
</NextUIProvider>
|
||
|
|
);
|
||
|
|
}
|