-
Notifications
You must be signed in to change notification settings - Fork 842
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
[Docs, EuiBasicTable] Recreating props tables with props loader #4125
[Docs, EuiBasicTable] Recreating props tables with props loader #4125
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_4125/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4125/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4125/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4125/ |
Overall, I think this is better than what we had with the manual props-info, although we should find some solution to the empty |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4125/ |
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 is great!
There is also a file at src-docs/src/views/tables/basic/props_info.js
that can now be deleted, I think.
Co-authored-by: Greg Thompson <[email protected]>
The EuiInMemoryTable is calling this file But in a different PR, I can recreate the props tables for EuiInMemoryTable and consequently delete both |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4125/ |
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.
LGTM!
Preview documentation changes for this PR: https://eui.elastic.co/pr_4125/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4125/ |
…tic#4125) * Using prop loader to create props table for basic table * Added CL * Reverting criteria types * More improvements * More improvements * Fixing DefaultItemAction prop table not showing * Es lint fix * Update src-docs/src/views/tables/basic/props.tsx Co-authored-by: Greg Thompson <[email protected]> * CL Co-authored-by: Greg Thompson <[email protected]>
Summary
Closes #3644.
Some links were not working in the docs under the props tab for the EuiBasicTable because it was using a manual props table.
With this PR I'm using the
!!prop-loader
to recreate the EuiBasicTable props tables.I'm also exporting missing types that close #4011.
Checklist
[ ] Checked in mobile[ ] Checked Code Sandbox works for the any docs examples[ ] Added or updated jest tests[ ] Checked for breaking changes and labeled appropriately[ ] Checked for accessibility including keyboard-only and screenreader modes