Skip to main content

Interface: StateCondition

Defined in: types/index.ts:80

Represents a state condition used for conditional styling and rendering.

State conditions allow components to apply different styles or behaviors based on dynamic state values. The condition string follows the format used by the state package's condition system.

StateCondition

Properties​

name​

name: string

Defined in: types/index.ts:81

The name identifier for this condition


condition​

condition: string

Defined in: types/index.ts:82

The condition string (e.g., "user.age::eq::18")


id​

id: string

Defined in: types/index.ts:83

Unique identifier for this condition instance