OudsChipState

Represents the different states of a chip.

This state is available in OudsChipScope when using "Basic" chip variants, allowing developers to customize chip appearance based on interaction state.

Example:

OudsBasicSuggestionChip(...) {
when (state) {
OudsChipState.Pressed -> Icon(modifier = Modifier.rotate(10f))
else -> Icon()
}
}

Entries

Link copied to clipboard

The chip is enabled and can be interacted with.

Link copied to clipboard

The chip is being hovered over.

Link copied to clipboard

The chip is being pressed.

Link copied to clipboard

The chip is disabled and cannot be interacted with.

Link copied to clipboard

The chip is focused.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.