18 lines
465 B
Kotlin
18 lines
465 B
Kotlin
package io.element.android.x.designsystem.components
|
|
|
|
import androidx.compose.material3.Button
|
|
import androidx.compose.material3.Text
|
|
import androidx.compose.runtime.Composable
|
|
import androidx.compose.ui.Modifier
|
|
|
|
@Composable
|
|
fun VectorButton(text: String, enabled: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier) {
|
|
Button(
|
|
onClick = onClick,
|
|
enabled = enabled,
|
|
modifier = modifier
|
|
) {
|
|
Text(text = text)
|
|
}
|
|
}
|