react-armory-spiral
This package is designed to help you create a spiral of blue boxes with React.
Exports
This package exports a single getBoxStyle(n)
function that returns the style
object that should be passed to the nth box.
Why?
Why create a package for this? Why the hell not. But also, it is used within an introduction to React:
Learn React From The Comfort Of Your Web Browser
Try it live
You can see a usage example and try the component out at React Armory.