UNPKG

@rbxts/rodux-hooks

Version:

Port of littensy's roact-rodux-hooked for kampf's RoactHooks library.

13 lines (12 loc) 524 B
/// <reference types="rodux" /> import { Action, AnyAction } from "@rbxts/rodux"; import type { IRoactContext } from "../types"; import type { Store } from "@rbxts/rodux"; export interface IRoactRoduxContextValue<A extends Action = AnyAction> { /** * The single Rodux store in your application. */ store: Store<any, A>; } export declare type RoactRoduxContext<A extends Action = AnyAction> = IRoactContext<IRoactRoduxContextValue<A>>; export declare const RoactRoduxContext: RoactRoduxContext;