# ChipBorder

Artifact: [androidx.wear.compose:compose-material](https://developer.android.com/jetpack/androidx/releases/wear-compose) [View Source](https://cs.android.com/search?q=file:androidx/wear/compose/material/Chip.kt+class:androidx.wear.compose.material.ChipBorder) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.1.0)


```
interface ChipBorder
```

<br />

*** ** * ** ***

Represents the border stroke used in a `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/Chip.composable#Chip(kotlin.Function0,androidx.wear.compose.material.ChipColors,androidx.wear.compose.material.ChipBorder,androidx.compose.ui.Modifier,kotlin.Boolean,androidx.compose.foundation.layout.PaddingValues,androidx.compose.ui.graphics.Shape,androidx.compose.foundation.interaction.MutableInteractionSource,androidx.compose.ui.semantics.Role,kotlin.Function1)` in different states.

## Summary

| ### Public functions |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/State<https://developer.android.com/reference/kotlin/androidx/compose/foundation/BorderStroke?>` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/wear/compose/material/ChipBorder#borderStroke(kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the border stroke for this chip, depending on `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/ChipBorder#borderStroke(kotlin.Boolean)` or null if no border |

## Public functions

### borderStroke

Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/wear-compose#1.1.0)

```
@Composable
fun borderStroke(enabled: Boolean): State<BorderStroke?>
```

Represents the border stroke for this chip, depending on `https://developer.android.com/reference/kotlin/androidx/wear/compose/material/ChipBorder#borderStroke(kotlin.Boolean)` or null if no border

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | Whether the chip is enabled |