Skip to content

Commit d567d00

Browse files
committed
chore(readme): background prop types
1 parent c46d962 commit d567d00

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ const BasicFlow = () => (
8282
- `connectionLineStyle`: connection style as svg attributes
8383
- `deleteKeyCode`: default: `8` (delete)
8484
- `selectionKeyCode`: default: `16` (shift)
85-
- `showBackground`: default: `true`
86-
- `backgroundGap`: gap size - default: `16`
87-
- `backgroundColor`: color of dots or lines - default: `#eee`
88-
- `backgroundType`: background type = `dots` or `lines` - default: `dots`
8985
- `snapToGrid`: default: `false`
9086
- `snapGrid`: [x, y] array - default: `[16, 16]`
9187
- `onlyRenderVisibleNodes`: default: `true`
@@ -268,7 +264,7 @@ const FlowWithBackground = () => (
268264
- `variant`: string - has to be 'dots' or 'lines' - default: `dots`
269265
- `gap`: number - the gap between the dots or lines - default: `16`
270266
- `size`: number - the radius of the dots or the stroke width of the lines - default: 0.5
271-
- `color`: string - the color of the dots or lines - default: `#999`
267+
- `color`: string - the color of the dots or lines - default: `#999` for dots, '#eee' for lines
272268
- `style`: css properties
273269
- `className`: class name
274270

0 commit comments

Comments
 (0)