Export Image
Export Code

Fork of Color and Size Legends - Component Experiment

Anthony Zornig

Last edited Oct 17, 2021
Created on Oct 17, 2021

An experiment in passing parameters into "components" by setting properties on the component functions. This is closer to the Towards Reusable Charts pattern, in that you can set state once and invoke the component elsewhere. With this approach you can't tap into the getters and setters though.

MIT Licensed