Update react-rnd-tests.tsx

This commit is contained in:
Javier Gonzalez
2018-06-07 20:35:17 +02:00
committed by GitHub
parent 93b7d2a1d3
commit e61a6fdb97

View File

@@ -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';