Home > @css-hooks/core > buildHooksSystem
buildHooksSystem() function
Creates a flavor of CSS Hooks tailored to a specific app framework.
Signature:
export declare function buildHooksSystem<CSSProperties extends { [P: string]: any; } = Record<string, unknown>>(stringify?: StringifyFn): CreateHooksFn<CSSProperties>;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| stringify | (Optional) The function used to stringify values when merging conditional styles. | 
Returns:
CreateHooksFn<CSSProperties>
The createHooks function used to bootstrap CSS Hooks within an app or component library.
Remarks
Primarily for internal use, advanced use cases, or when an appropriate framework integration is not provided.