-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Switch component #332
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
build.washingtonpost.com/components/Markdown/Components/Anatomy.jsx
Outdated
Show resolved
Hide resolved
build.washingtonpost.com/components/Markdown/Components/Sandbox.js
Outdated
Show resolved
Hide resolved
build.washingtonpost.com/components/Markdown/Components/inlineSVG.js
Outdated
Show resolved
Hide resolved
build.washingtonpost.com/components/Markdown/Components/inlineSVG.js
Outdated
Show resolved
Hide resolved
|
||
### Error | ||
|
||
When the switch is a requirement it will show an error border color. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sentence doesn't seem correct. There's no visual indication that a switch is required per next section. You may have meant when a required switch hasn't been touched? or something like that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used the copy from Zeplin. Def down to refine with design.
...Kit, | ||
...Assets, | ||
// ...Assets, // this is causing the issue.. we have an icon named Switch and it's conflicting with the Switch component from WPDS UI Kit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forgotten comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to keep this comment so future us will know why.
What I did
New Switch component!