Home > @css-hooks/recommended > StringToHook
StringToHook type
This utility type converts a hook implementation to an entry.
Signature:
export type StringToHook<S> = S extends string ? Record<S, S> : never;
Remarks
Useful for hook names that match their implementation