@mooretodd/survey

2.0.2 • Public • Published

Survey

The main component that generates a Survey Result. The name is probably not ideal, I should have named this SurveyResultDetail or something similar.

It includes a number of internal components that I've chosen not to expose, however, these could be moved into their own module folder should they be reusable at a later stage.

Rating

Uses d3 to render a really basic control that shows <= 2 unfavourable and >= 4 favourable metrics.

Notes

Most of the components are composite React components and I prefer createClass over es6 classes.

I would also make greater use of stateless components if I had more leaf nodes, but it didn't really come up.

Readme

Keywords

none

Package Sidebar

Install

npm i @mooretodd/survey

Weekly Downloads

1

Version

2.0.2

License

ISC

Last publish

Collaborators

  • mooretodd