// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;
// routes/index.js
export { default as Component2 } from './Components/Component2';
export { default as Component3 } from './Components/Component4';
export { default as Component4 } from './Components/Component4';
// App.jsx
import styled from "styled-components";
import {
BrowserRouter as Router,
Route,
Routes,
} from "react-router-dom";
import {Component2, Component3, Component4} from "./routes/index";
const LeftListNavBar = function (){
return (
<Component1>
<Router>
<Routes>
<Route path='/folder/:id' element ={<Component2/>}/>
<Route path='/:id' element ={<Component3/>}/>
<Route path='/' element ={<Component4/>} />
</Routes>
</Router>
</Component1>
);
}
export default LeftListNavBar;
import React, {useState, useEffect} from 'react';
import styled from "styled-components";
import axios from "axios";
import folderImag from "../../../assets/folder.png";
import {
Link,
} from 'react-router-dom';
...
const Component2 = function(){
return(
<React.Fragment>
<ul>
{buckets.map((buckets, index) =>{
return (
<Link to={"/folder/"+buckets.Name} key={index}>
<StyledLi >
<CheckBox type="checkbox" name="" id=""/>
<FolderImage src={folderImag}/>
{buckets.Name}
</StyledLi>
</Link>
);
})}
</ul>
</React.Fragment>
);
}
export default Component2;