diff --git a/src/SVG/Elements/Container.tsx b/src/SVG/Elements/Container.tsx index 8885c1f..ab5f382 100644 --- a/src/SVG/Elements/Container.tsx +++ b/src/SVG/Elements/Container.tsx @@ -5,19 +5,19 @@ interface IContainerProps { y: number, width: number, height: number, + style: React.CSSProperties, } export class Container extends React.Component { public render() { - const properties = { - x: this.props.x, - y: this.props.y, - width: this.props.width, - height: this.props.height - }; - return ( - + ); } } diff --git a/src/SVG/Elements/MainContainer.tsx b/src/SVG/Elements/MainContainer.tsx index f9dcab4..07a2711 100644 --- a/src/SVG/Elements/MainContainer.tsx +++ b/src/SVG/Elements/MainContainer.tsx @@ -8,12 +8,18 @@ interface IMainContainerProps { export class MainContainer extends React.Component { public render() { + const style: React.CSSProperties = { + fillOpacity: 0, + stroke: 'black' + }; + return ( ); } diff --git a/test-server/http.js b/test-server/http.js index e764f40..d096cef 100644 --- a/test-server/http.js +++ b/test-server/http.js @@ -22,8 +22,8 @@ serve({ MainContainer: { Type: 'Trou', BorderColor: '#ffffff', - Height: 1600, - Width: 20000 + Height: 300, + Width: 2000 } } );