Evo.External.App/apps/web/app/context/FlowbiteContext.tsx
2023-11-03 11:57:10 +03:00

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;