suggestion
fun suggestion(border: PlatformBorder = if (Platform.rememberIsTv()) {
PlatformBorder(
border = BorderStroke(
width = 1.dp,
color = Platform.colorScheme().outline
),
shape = Platform.shapes().small
)
} else {
PlatformBorder(
border = SuggestionChipDefaults.suggestionChipBorder(enabled = true),
shape = Platform.shapes().small
)
}, focusedBorder: PlatformBorder = if (Platform.rememberIsTv()) {
PlatformBorder.None
} else {
border
}, pressedBorder: PlatformBorder = focusedBorder, disabledBorder: PlatformBorder = if (Platform.rememberIsTv()) {
PlatformBorder(
border = BorderStroke(
width = 1.dp,
color = Platform.colorScheme().surfaceVariant
),
shape = Platform.shapes().small
)
} else {
PlatformBorder(
border = SuggestionChipDefaults.suggestionChipBorder(enabled = false),
shape = Platform.shapes().small
)
}, focusedDisabledBorder: PlatformBorder = if (Platform.rememberIsTv()) {
border
} else {
disabledBorder
}): PlatformClickableChipBorder(source)