生产管理系统前端-上边栏搭建与侧边栏搭建
This commit is contained in:
17
crop-x/src/components/layouts/Main.tsx
Normal file
17
crop-x/src/components/layouts/Main.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react'
|
||||
import { useTheme } from '@/hooks/useTheme'
|
||||
import {Navbar1} from '@/components/layouts/Navbar.tsx'
|
||||
import Page from './SideBar/SideBar'
|
||||
import './index.css'
|
||||
function Main() {
|
||||
return (
|
||||
<div className = "parent-flex">
|
||||
<Navbar1></Navbar1>
|
||||
<div>
|
||||
<Page></Page>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Main
|
||||
Reference in New Issue
Block a user