From 70ed6b0c966322654fcd6c212613156c856ff460 Mon Sep 17 00:00:00 2001 From: moklick Date: Tue, 6 Oct 2020 17:06:12 +0200 Subject: [PATCH] docs(props): delete key -> backspace closes #557 --- website/src/markdown/docs/api/component-props.md | 2 +- website/src/markdown/docs/getting-started/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/markdown/docs/api/component-props.md b/website/src/markdown/docs/api/component-props.md index 9a2af14b..5e65f317 100644 --- a/website/src/markdown/docs/api/component-props.md +++ b/website/src/markdown/docs/api/component-props.md @@ -69,5 +69,5 @@ import ReactFlow from 'react-flow-renderer'; - `connectionLineComponent`: [custom connection line component](/example/src/CustomConnectionLine/index.js) ### Keys -- `deleteKeyCode`: default: `8` (delete) +- `deleteKeyCode`: default: `8` (backspace) - `selectionKeyCode`: default: `16` (shift) diff --git a/website/src/markdown/docs/getting-started/index.md b/website/src/markdown/docs/getting-started/index.md index 44945faf..cdaee5f1 100644 --- a/website/src/markdown/docs/getting-started/index.md +++ b/website/src/markdown/docs/getting-started/index.md @@ -95,7 +95,7 @@ export default () => { } ``` -In this example you can connect nodes and remove selected nodes and edges with the delete key. +In this example you can connect nodes and remove selected nodes and edges with the backspace key. import Basic from './BasicFunctions';