Skip to content

Instantly share code, notes, and snippets.

@KatieBarnett
Created May 10, 2023 05:55
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 KatieBarnett/6bb1a341e27fba1715739011031df686 to your computer and use it in GitHub Desktop.
Save KatieBarnett/6bb1a341e27fba1715739011031df686 to your computer and use it in GitHub Desktop.
PreviewParameterProvider with values
class TextWithColorConfigProvider : PreviewParameterProvider<TextData> {
override val values: Sequence<TextData> = sequenceOf(
primary, secondary
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment