-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Addon-docs: Add controls to ArgsTable #10354
Conversation
Co-Authored-By: Tom Coleman <[email protected]>
…to 6639-args-table
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.
Looks great!
`); | ||
}); | ||
|
||
it('extracted argTypes take precedence over inferred argTypes', () => { |
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.
🤔 are we sure about this?
`); | ||
}); | ||
|
||
it('user-specified argTypes take precedence over inferred argTypes', () => { |
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 wonder about this too.. I guess it'll come out in the wash when the rubber hits the road...
Issue: #6639
What I did
This is the second of a series of PRs to add controls (formerly known as "knobs") to the Props block:
This is a telescoping PR that targets the first step, and will solve a few of the outstanding issues from that PR. It's separated to make it easier to review.
Open questions
Object
control. I'm wondering whether we need to have an 'unknown' type (???) where we show no control at all. We could use this for React types, for example.Key files to review
How to test