UNPKG

react-beautiful-dnd

Version:

Beautiful, accessible drag and drop for lists with React.js

21 lines (16 loc) 373 B
// @flow import type { Node } from 'react'; import type { Position } from '../../types'; export type Speed = 'INSTANT' | 'STANDARD' | 'FAST'; export type Style = {| transform: ?string, |} export type Props = {| speed: Speed, destination: Position, onMoveEnd: () => void, children: (Style) => Node, |} export type DefaultProps = {| destination: Position, |}