import React from 'react';
import { ChakraProvider } from '@chakra-ui/react';
import { Brand } from '../../types/brand.js';
import { autoScout24Theme, motoScout24Theme } from '../../themes/index.js';

var _a;
var themes = (_a = {},
    _a[Brand.AutoScout24] = autoScout24Theme,
    _a[Brand.MotoScout24] = motoScout24Theme,
    _a);
var ThemeProvider = function (_a) {
    var theme = _a.theme, children = _a.children;
    return (React.createElement(ChakraProvider, { theme: themes[theme], resetCSS: true }, children));
};

export { ThemeProvider as default };
//# sourceMappingURL=index.js.map
