CSS Hooks
Documentation
Source on GitHub

Home > @css-hooks/preact > createHooks

createHooks variable

A hook factory configured to use Preact's CSSProperties type and logic for converting CSS values into strings

Signature:

createHooks: import("@css-hooks/core").CreateHooksFn<CSSProperties, CSSPropertyConflicts>