'use client';

import React, {FC} from 'react';

import {ThemeProvider} from '@mui/material';
import {IThemeProviderProps} from './theme-provider.type';
import {THEME_LIGHT} from '../../../themes';

export const ThemeProviderComponent: FC<IThemeProviderProps> = ({
    children,
    theme = THEME_LIGHT,
}) => {
    return <ThemeProvider theme={theme}>{children}</ThemeProvider>;
};
