import React from 'react';
import App from '../layout/App';
import DbConnectionsExample from './DbConnectionsExample';
import './index.css';
import { jsx as _jsx } from "react/jsx-runtime";
export default function Example() {
  const urlParams = new URLSearchParams(window.location.search);
  const example = urlParams.get('example') || '';
  const mmap = {
    app: App,
    dbconnections: DbConnectionsExample
  };
  const Comp = mmap[example];
  if (!Comp) {
    return /*#__PURE__*/_jsx(App, {});
  }
  return /*#__PURE__*/_jsx(Comp, {});
}
//# sourceMappingURL=index.js.map