@visualjs/grid
Version:
JavaScript Data Table
6 lines (5 loc) • 346 B
TypeScript
import { ComponentType } from "preact";
import Grid from "../../grid";
import { State } from "../../grid";
export declare function connect<S, A>(selector: (state: State, props?: any) => S, mapActions?: (grid: Grid) => A): <P extends S>(Wrapped: ComponentType<P & A>) => (props: Omit<P, keyof S | keyof A>) => JSX.Element;
export default connect;