<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>



```kotlin
public interface ButtonBorder
```


Represents the border stroke used in a `Button` in different states.


## Functions



<h2 id="borderstroke-enabled">borderStroke</h2>

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


Represents the border stroke for this border, depending on `enabled` or null if no border

#### Parameters

| | |
| --- | --- |
| enabled | Whether the button is enabled |