Home > @css-hooks/core > Config
Config interface
Represents the configuration used to set up hooks.
Signature:
export interface Config<HooksConfig>
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
boolean |
(Optional) Whether to enable debug mode. | ||
"revert-layer" | "unset" |
(Optional) The fallback keyword to use when no other value is available. The revert-layer keyword is functionally the best option, but unset has better compatibility. | ||
HooksConfig |
The hooks available for use in conditional styles. | ||
{ properties?: boolean; conditionalStyles?: boolean; } |
(BETA) (Optional) Options for sorting declarations when multiple rules are passed to the css function. |