UNPKG

react-sled

Version:

react-sled is a carousel made with react-spring.

12 lines (11 loc) 418 B
import React from 'react'; import { IState } from './types-defaults'; import { ActionType } from './reducer'; export declare const StateContext: React.Context<any>; interface IProps { children?: React.ReactNode; } declare const StateProvider: React.FC<IProps>; export { StateProvider }; export declare const useStateContext: () => [IState, React.Dispatch<ActionType>]; export * from './types-defaults';