refactor(background): allow multiple types #10
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -64,7 +64,6 @@ class App extends PureComponent {
|
||||
onConnect={this.onConnect}
|
||||
onNodeDragStop={onNodeDragStop}
|
||||
style={{ width: '100%', height: '100%' }}
|
||||
showGrid={false}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user