CSS Hooks
Documentation
Source on GitHub

Home > @css-hooks/core > Condition

Condition type

Represents a hook or combination of hooks that can activate declarations.

Signature:

typescript
export type Condition<H> = H | { and: Condition<H>[]; } | { or: Condition<H>[]; } | { not: Condition<H>; };

References: Condition