diff --git a/src/react-sortable.tsx b/src/react-sortable.tsx index 1a63522..a01ab8e 100644 --- a/src/react-sortable.tsx +++ b/src/react-sortable.tsx @@ -37,8 +37,7 @@ const store: Store = { dragging: null }; export class ReactSortable<T extends ItemInterface> extends Component< ReactSortableProps<T> > { - /* eslint-disable-next-line */ - static defaultProps: Partial<ReactSortableProps<any>> = { + defaultProps: Partial<ReactSortableProps<any>> = { clone: (item) => item, };