A bordered button is a medium-emphasis button. It has a transparent background and a thin border, making it suitable for secondary actions that need more emphasis than a borderless button but less than a primary button.
label: String
The text to display on the button.
onClick: () -> Unit
The callback to be invoked when the button is clicked.
modifier: Modifier
Modifier to be applied to the button.
leading: (() -> Unit)?
An optional icon to display before the label.
isEnabled: Boolean
Whether the button is enabled or not. Defaults to true.
expanded: Boolean
Whether the button should be expanded or not. Defaults to false.
borderColor: Color?
The color of the border. If null, uses the default bordered border color.
labelTextStyle: TextStyle?
The text style to be used for the label.
contentAlignment: Alignment.Horizontal
The horizontal alignment of the icon and label. Defaults to Alignment.CenterHorizontally.