diff --git a/types/react-rnd/react-rnd-tests.tsx b/types/react-rnd/react-rnd-tests.tsx index 070c793f87..461a0d03ba 100644 --- a/types/react-rnd/react-rnd-tests.tsx +++ b/types/react-rnd/react-rnd-tests.tsx @@ -1,6 +1,5 @@ import * as React from 'react'; -import Rnd from 'react-rnd'; -import { ResizeHandler } from 'react-rnd'; +import { default as Rnd, ResizeHandler } from "react-rnd"; const onResize: ResizeHandler = (e, direction, ref, delta, position) => { direction === 'right';