File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ export default class Draggable extends React.Component {
238238 } ) ;
239239 } ;
240240
241- render ( ) : ReactElement {
241+ render ( ) : React . Element {
242242 let style = { } , svgTransform = null ;
243243
244244 // Add a CSS transform to move the element around. This allows us to move the element around
Original file line number Diff line number Diff line change @@ -419,7 +419,7 @@ export default class DraggableCore extends React.Component {
419419 return this . handleDragStop ( e ) ;
420420 } ;
421421
422- render ( ) : ReactElement {
422+ render ( ) : React . Element {
423423 // Reuse the child provided
424424 // This makes it flexible to use whatever element is wanted (div, ul, etc)
425425 return React . cloneElement ( React . Children . only ( this . props . children ) , {
You can’t perform that action at this time.
0 commit comments