Skip to content
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] Added callback signatures to AppBar doc. #3449

Merged
merged 1 commit into from
Feb 24, 2016
Merged

[Docs] Added callback signatures to AppBar doc. #3449

merged 1 commit into from
Feb 24, 2016

Conversation

theosherry
Copy link
Contributor

#3191 and #3096

I'll continue working through the rest on the list if these look OK.

@mbrookes
Copy link
Member

Thanks for picking this up, it's really appreciated! 👍

Unless I'm mistaken you can use markdown, so in general, when referring to a another prop or component, you can wrap it in backticks IconMenu. When referring to the design element, it's normal text: Icon Menu.

Otherwise, looks great!

@theosherry
Copy link
Contributor Author

Ok, I'll make those changes. Thanks!

@@ -105,16 +105,22 @@ const AppBar = React.createClass({

/**
* Callback function for when the left icon is selected via a touch tap.
*
* @param {object} event TouchTap event targeting the left `IconButton`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you rename object to Event please? thanks 😁

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's no problem; I was just going by the convention being used here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, well anyway it doesn't matter, either way we'll have to come up with better conventions anyway. I mean these aren't real events anyway they are SyntheticEvents that React creates. I wouldn't bother anyway. we'll have to discuss this further. keep it as it is for now 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok, thanks :)

alitaheri added a commit that referenced this pull request Feb 24, 2016
[Docs] Added callback signatures to AppBar doc.
@alitaheri alitaheri merged commit 2a86c94 into mui:master Feb 24, 2016
@alitaheri
Copy link
Member

Thanks a lot @theosherry

@zannager zannager added the docs Improvements or additions to the documentation label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants