You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/web/src/routes/Main/index.tsx

21 lines
440 B
TypeScript

import React from 'react';
import { Content } from './Content';
import { Navbar } from './Navbar';
import { MainProvider } from './Provider';
import { Sidebar } from './Sidebar';
export const MainRoute: React.FC = React.memo(() => {
return (
<div className="flex h-full">
<MainProvider>
<Navbar />
<Sidebar />
<Content />
</MainProvider>
</div>
);
});
MainRoute.displayName = 'MainRoute';