UNPKG

@hello-pangea/dnd

Version:

Beautiful and accessible drag and drop for lists with React

9 lines (6 loc) 317 B
import React from 'react'; import type { ReactReduxContextValue } from 'react-redux'; import type { Action } from '../../state/store-types'; import type { State } from '../../types'; type StoreContextValue = ReactReduxContextValue<State, Action>; export default React.createContext<StoreContextValue | null>(null);