Created
October 20, 2023 00:49
-
-
Save Pouyaa91/fc0a99dafbeb84ae807ed915e1612517 to your computer and use it in GitHub Desktop.
InstructionsView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
private fun InstructionsView(modifier: Modifier = Modifier, instructions: String) { | |
ExpandableSection(modifier = modifier, title = stringResource(id = R.string.how_to_prepare)) { | |
Text( | |
modifier = Modifier.padding(8.dp), | |
text = instructions, | |
color = MaterialTheme.colorScheme.onSecondaryContainer | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment