mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-25 01:04:14 -05:00
feat: introducing react router to nebula web (#973)
* feat: nebula web react-router * chore: `<HubLayout />`
This commit is contained in:
15
commands/serve/web/components/Layouts/HubLayout.jsx
Normal file
15
commands/serve/web/components/Layouts/HubLayout.jsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from 'react';
|
||||
import { Outlet } from 'react-router-dom';
|
||||
import ConnectionSteps from '../Hub/ConnectionSteps';
|
||||
import { ThemeWrapper } from '../ThemeWrapper';
|
||||
|
||||
const HubLayout = () => {
|
||||
return (
|
||||
<ThemeWrapper>
|
||||
<ConnectionSteps />
|
||||
<Outlet />
|
||||
</ThemeWrapper>
|
||||
);
|
||||
};
|
||||
|
||||
export default HubLayout;
|
||||
Reference in New Issue
Block a user