From 71af74117330141a63c20977026a05ed502f4cad Mon Sep 17 00:00:00 2001 From: "Kim, Harim" Date: Thu, 29 Jul 2021 20:37:38 +0900 Subject: [PATCH] docs: fix typo dragable to draggable --- components/table/demo/drag-sorting.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/table/demo/drag-sorting.md b/components/table/demo/drag-sorting.md index 9211f5c5c1..a453092e0b 100644 --- a/components/table/demo/drag-sorting.md +++ b/components/table/demo/drag-sorting.md @@ -20,9 +20,9 @@ import { DndProvider, useDrag, useDrop } from 'react-dnd'; import { HTML5Backend } from 'react-dnd-html5-backend'; import update from 'immutability-helper'; -const type = 'DragableBodyRow'; +const type = 'DraggableBodyRow'; -const DragableBodyRow = ({ index, moveRow, className, style, ...restProps }) => { +const DraggableBodyRow = ({ index, moveRow, className, style, ...restProps }) => { const ref = useRef(); const [{ isOver, dropClassName }, drop] = useDrop({ accept: type, @@ -101,7 +101,7 @@ const DragSortingTable: React.FC = () => { const components = { body: { - row: DragableBodyRow, + row: DraggableBodyRow, }, };