[Docs, EuiBasicTable] Recreating props tables with props loader#4125
[Docs, EuiBasicTable] Recreating props tables with props loader#4125elizabetdev merged 13 commits intoelastic:masterfrom
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/ |
thompsongl
left a comment
There was a problem hiding this comment.
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 <thompson.glowe@gmail.com>
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/ |
|
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 <thompson.glowe@gmail.com> * CL Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>

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-loaderto 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