chakra-ui / chakra-ui-docs

Documentation website for chakra ui
https://chakra-ui.com
MIT License
301 stars 477 forks source link

Props missing for Box component in documentation #973

Open chandra-pratap-singh opened 1 year ago

chandra-pratap-singh commented 1 year ago

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.

noobinthisgame commented 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

I-keep-trying commented 1 year ago

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').

stale[bot] commented 1 year ago

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.

stale[bot] commented 1 year ago

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.