Skip to content

Commit

Permalink
set clsx as named import instead of default
Browse files Browse the repository at this point in the history
related to: lukeed/clsx#57
also related to: react-grid-layout#667
  • Loading branch information
carlblock authored May 15, 2024
1 parent f5abc4e commit 632093d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Draggable.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import * as React from 'react';
import PropTypes from 'prop-types';
import ReactDOM from 'react-dom';
import clsx from 'clsx';
import { clsx } from 'clsx';
import {createCSSTransform, createSVGTransform} from './utils/domFns';
import {canDragX, canDragY, createDraggableData, getBoundPosition} from './utils/positionFns';
import {dontSetMe} from './utils/shims';
Expand Down

0 comments on commit 632093d

Please sign in to comment.