-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Navigation Component: Update docs #24880
Conversation
Size Change: 0 B Total Size: 1.17 MB ℹ️ View Unchanged
|
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.
Thanks for the docs, Paul! Left a couple minor and optional changes, but pre-approving. 🎉
- Type: `string|Number` | ||
- Required: No | ||
|
||
Specify a menu item's parent id. |
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.
Maybe note that root
will get added as the menu item's parent if none is provided.
|
||
An array of config objects for each menu item. | ||
|
||
### `initial` | ||
Config objects can be represented |
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.
Missing onClick
param option.
Co-authored-by: Joshua T Flowers <[email protected]>
Co-authored-by: Joshua T Flowers <[email protected]>
Co-authored-by: Joshua T Flowers <[email protected]>
* Update readme * first attempt to define data * Update packages/components/src/navigation/README.md Co-authored-by: Joshua T Flowers <[email protected]> * Update packages/components/src/navigation/README.md Co-authored-by: Joshua T Flowers <[email protected]> * better declaration * Add onClick prop * note parent default * Update packages/components/src/navigation/README.md Co-authored-by: Joshua T Flowers <[email protected]> Co-authored-by: Joshua T Flowers <[email protected]>
Fixes #24700
Description
Update the navigation component's README and other docs.