ButtonPrimary

@Composable
fun ButtonPrimary(modifier: Modifier = Modifier, text: String, onClick: () -> Unit, isEnable: Boolean = true, backgroundColour: Color = MaterialTheme.colors.primary, textColour: Color = MaterialTheme.colors.onPrimary)

Custom button for primary button

Parameters

modifier

An optional modifier for this button

text

Text of the button

onClick

onClick lambda to perform when this button is clicked

backgroundColour

colour of the button in enable state

textColour

colour of the text of this button in enable state