Update react-rnd-tests.tsx

This commit is contained in:
Javier Gonzalez
2018-06-07 20:18:28 +02:00
committed by GitHub
parent 5e1d37e648
commit 968ad3d444
+4 -3
View File
@@ -1,7 +1,8 @@
import React = require('react');
import Rnd = require('react-rnd');
import * as React from 'react';
import Rnd from 'react-rnd';
import { ResizeHandler } from 'react-rnd';
const onResize: Rnd.ResizeHandler = (e, direction, ref, delta, position) => {
const onResize: ResizeHandler = (e, direction, ref, delta, position) => {
direction === 'right';
delta.width;
delta.height;