UI: Document the Toggle component in Storybook
- Dominant language
- Go
- Stars
- 17k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 105
Description
Node drain introduced a new Toggle component that hasn't found its way into our living styleguide yet.
**Styleguide:** https://nomad-storybook.netlify.com/
**Files:**
1. [Template](https://github.com/hashicorp/nomad/blob/master/ui/app/templates/components/toggle.hbs)
2. [Logic](https://github.com/hashicorp/nomad/blob/master/ui/app/components/toggle.js)
3. [Styles](https://github.com/hashicorp/nomad/blob/master/ui/app/styles/components/toggle.scss)
**States to Capture:**
- [ ] Toggle off
- [ ] Toggle on
- [ ] Toggle disabled (off)
- [ ] Toggle disabled (on)
**Screenshots:**


Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.