Implement MainContainer

This commit is contained in:
Hydroxycarbamide 2022-07-30 23:43:28 +02:00
parent adf86ebea1
commit 40fae7dde3
4 changed files with 88 additions and 6 deletions

View file

@ -0,0 +1,23 @@
import * as React from 'react';
interface IContainerProps {
x: number,
y: number,
width: number,
height: number,
}
export class Container extends React.Component<IContainerProps> {
public render() {
const properties = {
x: this.props.x,
y: this.props.y,
width: this.props.width,
height: this.props.height
};
return (
<rect {...properties} />
);
}
}