You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For DataTable, there are certain props where it would be great to provide additional documentation for them as the type itself may be too complicated to show inline. For example, columns is currently only represented as Array<Column<Data>> and it would be helpful to document the interior type, Column, along with its descriptions of fields. For an overview of this type, visit the code here.
One alternative could be to allow for extension of the specific prop sections in order to further document a component and it's props. This shows up in sites like:
Finally, additional information could live in the description for the prop (however this would mean descriptions would be longer as in: https://mui.com/material-ui/api/pagination/)
The text was updated successfully, but these errors were encountered:
👋 @joshblack am I correct in assuming this is a feature request for https://primer.style? If so, does it seem reasonable to assume the first step would be seeking design input on how to represent complex props/types there?
Trying to figure out the best place to triage this to 🤔
For DataTable, there are certain props where it would be great to provide additional documentation for them as the type itself may be too complicated to show inline. For example, columns is currently only represented as
Array<Column<Data>>
and it would be helpful to document the interior type,Column
, along with its descriptions of fields. For an overview of this type, visit the code here.One alternative could be to allow for extension of the specific prop sections in order to further document a component and it's props. This shows up in sites like:
Or it could show up as a popup similar to sites like:
Finally, additional information could live in the description for the prop (however this would mean descriptions would be longer as in: https://mui.com/material-ui/api/pagination/)
The text was updated successfully, but these errors were encountered: