mirror of
https://github.com/sasjs/server.git
synced 2025-12-10 19:34:34 +00:00
21 lines
492 B
TypeScript
21 lines
492 B
TypeScript
import React, { useState } from 'react'
|
|
|
|
import CssBaseline from '@mui/material/CssBaseline'
|
|
import Box from '@mui/material/Box'
|
|
|
|
import SideBar from './sideBar'
|
|
import Main from './main'
|
|
|
|
const Drive = () => {
|
|
const [selectedFilePath, setSelectedFilePath] = useState('')
|
|
return (
|
|
<Box sx={{ display: 'flex' }}>
|
|
<CssBaseline />
|
|
<SideBar setSelectedFilePath={setSelectedFilePath} />
|
|
<Main selectedFilePath={selectedFilePath} />
|
|
</Box>
|
|
)
|
|
}
|
|
|
|
export default Drive
|