flowstudio
Version:
Enterprise Flow Designer
14 lines • 725 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { Theme } from '@radix-ui/themes';
import '@radix-ui/themes/styles.css';
// import '@/styles/sheet.css'
// import '../styles/combo_box.css'
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import '@xyflow/react/dist/style.css';
import { useConfigStore } from '../zustand/store';
export default function AppLayout({ theme = 'system', accent = 'purple', children }) {
const { appTheme } = useConfigStore();
const queryClient = new QueryClient();
return (_jsx(Theme, { appearance: theme, accentColor: accent, children: _jsx(QueryClientProvider, { client: queryClient, children: children }) }));
}
//# sourceMappingURL=app_layout.js.map