mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
image layout
This commit is contained in:
parent
7cbfbc98bd
commit
163a46ace2
13 changed files with 237 additions and 28 deletions
|
@ -1,18 +1,16 @@
|
|||
import * as React from 'react';
|
||||
import { SidePane } from "~/components/main/SidePane";
|
||||
import * as styles from './styles.scss';
|
||||
import { useRef } from "react";
|
||||
|
||||
export const MainLayout = ({ children }) => {
|
||||
const container = useRef(null);
|
||||
|
||||
return (
|
||||
<div className={styles.wrapper}>
|
||||
<div className={styles.content} ref={container}>
|
||||
<div className={styles.content}>
|
||||
{children}
|
||||
</div>
|
||||
|
||||
<SidePane container={container} />
|
||||
<SidePane />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue