CSS Hooks
Documentation
Source on GitHub

Home > @css-hooks/core > Condition

Condition type

Represents the conditions under which a given hook or declaration applies.

Signature:

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

References: Condition