assist
fun assist(border: PlatformBorder = if (Platform.rememberIsTv()) {
PlatformBorder(
border = BorderStroke(
width = 1.dp,
color = Platform.colorScheme().outline
),
shape = Platform.shapes().small
)
} else {
PlatformBorder(
border = AssistChipDefaults.assistChipBorder(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 = AssistChipDefaults.assistChipBorder(enabled = false),
shape = Platform.shapes().small
)
}, focusedDisabledBorder: PlatformBorder = if (Platform.rememberIsTv()) {
border
} else {
disabledBorder
}): PlatformClickableChipBorder(source)