Skip to content

Instantly share code, notes, and snippets.

@Pouyaa91
Created October 20, 2023 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pouyaa91/fc0a99dafbeb84ae807ed915e1612517 to your computer and use it in GitHub Desktop.
Save Pouyaa91/fc0a99dafbeb84ae807ed915e1612517 to your computer and use it in GitHub Desktop.
InstructionsView
@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