import React from 'react';
import { WixPatternsDashboardTestProvider } from './WixPatternsDashboardTestProvider';
import { WixPatternsDashboardProvider } from './WixPatternsDashboardProvider';
export function WixPatternsProvider(props) {
    // dashboard-react currently don't provide a testkit https://wix.slack.com/archives/C03MHSXEPAR/p1701178068285369?thread_ts=1699425570.036359&cid=C03MHSXEPAR
    if (process.env.NODE_ENV === 'test') {
        return React.createElement(WixPatternsDashboardTestProvider, { ...props });
    }
    return React.createElement(WixPatternsDashboardProvider, { ...props });
}
//# sourceMappingURL=WixPatternsProvider.js.map