mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Update react-rnd-tests.tsx
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user