-
Notifications
You must be signed in to change notification settings - Fork 616
Improve docs consistency for Overlay, PageHead, Pagination, Popover, Portal, ProgressBar components #1805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
size-limit report 📦
|
# - title: Overlay | ||
# url: /Overlay | ||
- title: Overlay | ||
url: /Overlay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unclear why this was hidden. Does anyone know?
@@ -45,7 +49,7 @@ By default, clicking a link in the pagination component will cause the browser t | |||
</State> | |||
``` | |||
|
|||
## Customizing link URLs | |||
### Customizing link URLs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love to see it! ❤️
<PropsTableRow | ||
name="as" | ||
defaultValue="div" | ||
type="string" | ||
description="Sets the underlying HTML tag for the component" | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<PropsTableRow | |
name="as" | |
defaultValue="div" | |
type="string" | |
description="Sets the underlying HTML tag for the component" | |
/> | |
<PropsTableAsRow | |
defaultElementType="div" | |
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as before, this suggestion results in an empty row? @colebemis
<PropsTableRow | ||
name="as" | ||
defaultValue="div" | ||
type="string" | ||
description="Sets the underlying HTML tag for the component" | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<PropsTableRow | |
name="as" | |
defaultValue="div" | |
type="string" | |
description="Sets the underlying HTML tag for the component" | |
/> | |
<PropsTableAsRow | |
defaultElementType="div" | |
/> |
<PropsTableRow | ||
name="as" | ||
defaultValue="div" | ||
type="string" | ||
description="Sets the underlying HTML tag for the component" | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<PropsTableRow | |
name="as" | |
defaultValue="div" | |
type="string" | |
description="Sets the underlying HTML tag for the component" | |
/> | |
<PropsTableAsRow | |
defaultElementType="div" | |
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@colebemis This doesn't seem to work with html tags, getting an empty row. Any ideas?
docs/content/ProgressBar.mdx
Outdated
### ProgressBar | ||
|
||
<PropsTable> | ||
<PropsTableRow name="progress" type="number" description="Used to set the size of the green bar" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As in a required prop? No, it's optional. Defaults to 0 if it's not passed in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
Part of #1701
Added / Updated docs for:
Overlay
(see it here)PageHead
(see it here)Pagination
(see it here)Popover
(see it here)Portal
(see it here)ProgressBar
(see it here)Merge checklist