CSS Hooks
Documentation
Source on GitHub

Home > @css-hooks/preact > createHooks

createHooks variable

A CreateHooksFn configured to use Preact's JSX.CSSProperties type and logic for converting CSS values into strings.

Signature:

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