-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
[Docs] Update Documentation for Menus #2785
Conversation
@Zadielerick Wow, you are unstoppable 😄 |
|
||
const arrow = ( | ||
<ArrowDropRight /> | ||
); |
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.
We can leave the <ArrowDropRight />
component here or move it to the render function.
I don't know what's best. There is no performance implication either way.
@alitaheri Though?
609f6da
to
bbeac09
Compare
autoWidth: React.PropTypes.bool, | ||
|
||
/** | ||
* |
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.
One last missing
bbeac09
to
4fb7c31
Compare
@@ -17,27 +17,80 @@ const nestedMenuStyle = { | |||
const MenuItem = React.createClass({ | |||
|
|||
propTypes: { | |||
/** | |||
* If true, a left check mark will be rendered |
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.
.
03d474b
to
4bb285f
Compare
<MenuExampleNested /> | ||
</CodeExample> | ||
<PropTypeDescription code={menuCode}/> | ||
<PropTypeDescription code={menuItemCode}/> |
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.
Can we add a header="### MenuItem Properties"
?
4bb285f
to
c2a1475
Compare
[Docs] Update Documentation for Menus
No description provided.