Skip to content

Instantly share code, notes, and snippets.

@zsoltk
Last active August 3, 2021 11:50
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 zsoltk/87a2cf9d060bd18ef845591b35b399d9 to your computer and use it in GitHub Desktop.
Save zsoltk/87a2cf9d060bd18ef845591b35b399d9 to your computer and use it in GitHub Desktop.
@Composable
override fun render(properties: SquareRenderProperties) {
ActiveDatasetVisualisation.current.let { viz ->
val datapoint = viz.dataPointAt(
properties.position,
properties.boardProperties.toState
)
//...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment