RAC Table with option to render as other element types #6939
Replies: 2 comments 1 reply
-
We're currently working on a Spectrum 2 TableView based on RAC here #6778 |
Beta Was this translation helpful? Give feedback.
-
After another review of the PR and codebase (along with releases) I found the undocumented |
Beta Was this translation helpful? Give feedback.
-
Hi all, I wanted to start the discussion and get feedback about possibly implementing the RAC table with an option to render other element types instead of the semantic table. This would allow for a more Spectrum-like design pattern (TableView). I realize this could be implemented with hooks but would be happy to see it go into core RAC.
Currently,
useElementType
in Table has hard-coded values. I haven't parsed the source code thoroughly but am wondering if it's possible to easily allow (with context) the ability to optional render divs while still maintaining accessibility and order.Beta Was this translation helpful? Give feedback.
All reactions