UNPKG

framer-controller

Version:

Control components and state in Framer X with reusable controllers.

2 lines (1 loc) 90 B
export declare function createStore<T>(state: T): () => [T, (state: Partial<T>) => void];