UNPKG

react-smooth-dnd

Version:
15 lines (14 loc) 452 B
import React, { Component } from 'react'; import PropTypes from 'prop-types'; export interface DraggableProps { render?: () => React.ReactElement; className?: string; } declare class Draggable extends Component<DraggableProps> { static propsTypes: { render: PropTypes.Requireable<(...args: any[]) => any>; className: PropTypes.Requireable<string>; }; render(): JSX.Element; } export default Draggable;