11 lines
312 B
TypeScript
11 lines
312 B
TypeScript
'use client';
|
|
import { flowbiteTheme as theme } from '../theme';
|
|
import { Flowbite } from 'flowbite-react';
|
|
import type { PropsWithChildren } from 'react';
|
|
|
|
function FlowbiteContext({ children }: PropsWithChildren) {
|
|
return <Flowbite theme={{ theme }}>{children}</Flowbite>;
|
|
}
|
|
|
|
export default FlowbiteContext;
|