Kit > healthstack.kit.ui > KitButton

KitButton

[androidJvm]\

@Composable

fun KitButton(text: String = "", buttonColor: Color = AppTheme.colors.primary, textColor: Color = AppTheme.colors.surface, shape: RoundedCornerShape = RoundedCornerShape(
MaterialTheme.shapes.small.topStart,
MaterialTheme.shapes.small.topEnd,
MaterialTheme.shapes.small.bottomEnd,
MaterialTheme.shapes.small.bottomStart,
), border: BorderStroke? = null, modifier: Modifier = Modifier
.height(44.dp)
.fillMaxWidth(), enabled: Boolean = true, onClick: () -> Unit)