CSS Hooks
Documentation
Source on GitHub

Home > @css-hooks/core > CreateHooksFn

CreateHooksFn type

Represents the function used to define hooks and related configuration.

Signature:

export type CreateHooksFn<CSSProperties> = <S extends Selector>(...selectors: S[]) => CreateHooksResult<S, CSSProperties>;

References: Selector, CreateHooksResult