Open chandra-pratap-singh opened 1 year ago
The Box
component has no special props. It accepts the base HTML Props and the style props. I addressed this in #737
For what it's worth, I'm just a user who is learning to code, but I found it very confusing that the Box component does not have any props, especially since many of the other components (Button, for example) when you look at their props tab, it says right at the top "Button composes the Box component, so you can pass all its props." Or something very similar referencing the Box component.
So the first time I saw that, my instinct was to go straight to the Box props and found nothing there, so I was confused until I found the styled-props page. It would be nice if, instead of referencing the Box props, reference (and link to) the styled-system/styled-props page (if that's what you mean by 'base HTML props').
Hi! This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs within 5 days. Thank you for your contributions.
Hi! This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs within 5 days. Thank you for your contributions.
Description
when I clicked the props option on Box Component documentation, I expected the list of props to load but I did not load anything.