bsButtonRef

@Composable
fun IComponent.bsButtonRef(label: String? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.BtnPrimary, size: ButtonSize? = null, type: ButtonType = ButtonType.Button, disabled: Boolean? = null, className: String? = null, id: String? = null, content: @Composable IButton.() -> Unit = {}): Button

Creates a Bootstrap Button component with a given label and icon, returning a reference.

Return

the Button component

Parameters

label

the label of the button

icon

the icon of the button

style

the style of the button

size

the size of the button

type

the type of the button

disabled

whether the button is disabled

className

the CSS class name

id

the ID attribute of the button

content

a function for setting up the component