parent
c00b6357c8
commit
856d027bce
45 changed files with 1079 additions and 477 deletions
@ -1,13 +1,16 @@ |
|||||||
import React from 'react'; |
import React from "react"; |
||||||
import Info from '../Info/index'; |
import Info from "../Info/index"; |
||||||
|
|
||||||
import './index.scss'; |
import "./index.scss"; |
||||||
|
|
||||||
export default function PersistentDrawerLeft(props) { |
export default function PersistentDrawerLeft(props) { |
||||||
console.log(props.open); |
|
||||||
return ( |
return ( |
||||||
<div className={`custom-drawer d-flex ${props.open ? 'custom-drawer-active' : ''}`}> |
<div |
||||||
|
className={`custom-drawer d-flex ${ |
||||||
|
props.open ? "custom-drawer-active" : "" |
||||||
|
}`}
|
||||||
|
> |
||||||
<Info parent={props.parent} /> |
<Info parent={props.parent} /> |
||||||
</div> |
</div> |
||||||
); |
); |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue