refactor(background): allow multiple types #10

This commit is contained in:
moklick
2019-10-08 18:47:18 +02:00
parent f0f10b667c
commit 77faa369d4
6 changed files with 72 additions and 19 deletions

View File

@@ -147,8 +147,8 @@ class App extends PureComponent {
}}
connectionLineStyle={{ stroke: '#ddd', strokeWidth: 2 }}
connectionLineType="bezier"
gridColor="#aaa"
gridGap={16}
backgroundColor="#aaa"
backgroundGap={16}
>
<MiniMap
style={{ position: 'absolute', right: 10, bottom: 10 }}

View File

@@ -64,7 +64,6 @@ class App extends PureComponent {
onConnect={this.onConnect}
onNodeDragStop={onNodeDragStop}
style={{ width: '100%', height: '100%' }}
showGrid={false}
/>
);
}