Documents / @faasjs/react / StateRefs
Type Alias: StateRefs<T>
StateRefs<
T> ={ [K in keyof T as K extends string ? `${K}Ref` : never]: RefObject<T[K]> }
Ref map generated by useStatesRef for each state key.
Type Parameters
T
T
Object shape whose keys receive generated ref objects.