react-beautiful-dnd
Version:
Beautiful, accessible drag and drop for lists with React.js
17 lines (15 loc) • 643 B
JavaScript
// @flow
// This file exists to avoid a circular dependency between types.js and action-creators.js
import type {
Store as ReduxStore,
Dispatch as ReduxDispatch,
Middleware as ReduxMiddleware,
MiddlewareAPI as ReduxMiddlewareAPI,
} from 'redux';
import type { Action as ActionCreators } from './action-creators';
import type { State } from '../types';
export type Action = ActionCreators;
export type Dispatch = ReduxDispatch<Action>;
export type Store = ReduxStore<State, Action, Dispatch>;
export type Middleware = ReduxMiddleware<State, Action, Dispatch>;
export type MiddlewareStore = ReduxMiddlewareAPI<State, Action, Dispatch>;