Skip to content

Commit

Permalink
feat: move to @react-forked/dnd
Browse files Browse the repository at this point in the history
  • Loading branch information
Domino987 committed May 7, 2022
1 parent bde6024 commit 0d4b020
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 46 deletions.
2 changes: 1 addition & 1 deletion __tests__/demo/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import {
import { I1353, I1941, I122 } from './demo-components/RemoteData';
import { Table, TableCell, TableRow, Paper } from '@material-ui/core';
import TableHead from '@material-ui/core/TableHead';
import { DragDropContext, Droppable } from 'react-beautiful-dnd';
import { DragDropContext, Droppable } from '@react-forked/dnd';
import { MTableScrollbar } from '../../src/components';

module.hot.accept();
Expand Down
126 changes: 85 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"debounce": "^1.2.0",
"fast-deep-equal": "^3.1.3",
"prop-types": "^15.7.2",
"react-beautiful-dnd": "^13.0.0",
"@react-forked/dnd": "^14.0.2",
"react-double-scrollbar": "0.0.15",
"uuid": "^3.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/MTableGroupbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Chip from '@material-ui/core/Chip';
import Typography from '@material-ui/core/Typography';
import PropTypes from 'prop-types';
import React, { useEffect } from 'react';
import { Droppable, Draggable } from 'react-beautiful-dnd';
import { Droppable, Draggable } from '@react-forked/dnd';
/* eslint-enable no-unused-vars */

function MTableGroupbar(props) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/MTableHeader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import TableRow from '@material-ui/core/TableRow';
import TableCell from '@material-ui/core/TableCell';
import TableSortLabel from '@material-ui/core/TableSortLabel';
import Checkbox from '@material-ui/core/Checkbox';
import { Draggable } from 'react-beautiful-dnd';
import { Draggable } from '@react-forked/dnd';
import { Tooltip } from '@material-ui/core';
import { withStyles } from '@material-ui/core/styles';
import * as CommonValues from '../../utils/common-values';
Expand Down
2 changes: 1 addition & 1 deletion src/material-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
TableRow,
LinearProgress
} from '@material-ui/core';
import { DragDropContext, Droppable } from 'react-beautiful-dnd';
import { DragDropContext, Droppable } from '@react-forked/dnd';
import DataManager from '@utils/data-manager';
import * as CommonValues from '@utils/common-values';
import {
Expand Down

0 comments on commit 0d4b020

Please sign in to comment.