Remove MainContainer as it is the same as Container

This commit is contained in:
Siklos 2022-07-31 23:40:04 +02:00
parent 2a445cfdc2
commit 63d72b883b
4 changed files with 32 additions and 40 deletions

View file

@ -1,11 +1,23 @@
import * as React from 'react';
import { Container } from '../SVG/Elements/Container';
interface ISVGSidebarProps {
isOpen: boolean;
onClick: () => void;
MainContainer: Container | null,
isOpen: boolean,
onClick: () => void
}
export class SVGSidebar extends React.Component<ISVGSidebarProps> {
public iterateChilds(handleContainer: () => void): React.ReactNode {
if (!this.props.MainContainer) {
return undefined;
}
if (this.props.MainContainer) {
}
}
public render() {
const isOpenClasses = this.props.isOpen ? 'right-0' : '-right-64';
return (