-
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: create accordion #159
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
caa4f9c
to
1530664
Compare
Can you write interaction tests? |
ui/accordion/src/Accordion.tsx
Outdated
import { Icon } from "@washingtonpost/wpds-icon"; | ||
import * as AccordionPrimitive from "@radix-ui/react-accordion"; | ||
import type * as WPDS from "@washingtonpost/wpds-theme"; | ||
import { |
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.
We import these only to export them at the end. When the styled versions of components get created the props come along with them without having to bring these along as well.
All that to say I think this is just extra complexity that we're not really getting anything from.
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.
Overall looks good to go, the import and export of Radix types is a little noisy but not a blocker.
What I did