suggestionChipBorder

@Composable
fun suggestionChipBorder(enabled: Boolean, borderColor: Color = SuggestionChipTokens.FlatOutlineColor.value, disabledBorderColor: Color = SuggestionChipTokens.FlatDisabledOutlineColor.value.copy( alpha = SuggestionChipTokens.FlatDisabledOutlineOpacity ), borderWidth: Dp = SuggestionChipTokens.FlatOutlineWidth): BorderStroke

Creates a BorderStroke that represents the default border used in a flat SuggestionChip.

Parameters

enabled

whether the chip is enabled

borderColor

the border color of this chip when enabled

disabledBorderColor

the border color of this chip when not enabled

borderWidth

the border stroke width of this chip


@Composable
fun suggestionChipBorder(borderColor: Color = SuggestionChipTokens.FlatOutlineColor.value, disabledBorderColor: Color = SuggestionChipTokens.FlatDisabledOutlineColor.value.copy( alpha = SuggestionChipTokens.FlatDisabledOutlineOpacity ), borderWidth: Dp = SuggestionChipTokens.FlatOutlineWidth): ChipBorder

Deprecated

Maintained for binary compatibility. Use the suggestChipBorder functions instead

Replace with

suggestionChipBorder(enabled, borderColor, disabledBorderColor, borderWidth)

Creates a ChipBorder that represents the default border used in a flat SuggestionChip.

Parameters

borderColor

the border color of this chip when enabled

disabledBorderColor

the border color of this chip when not enabled

borderWidth

the border stroke width of this chip