react-armory-spiral

0.1.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i react-armory-spiral

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • jamesknelson