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] Update Documentation for Lists #2782

Merged
merged 1 commit into from
Jan 5, 2016

Conversation

Zadielerick
Copy link
Contributor

No description provided.

<ListItem
primaryText="Brendan Lim"
leftAvatar={<Avatar src="images/ok-128.jpg" />}
rightIcon={<CommunicationChatBubble />} />
Copy link
Member

Choose a reason for hiding this comment

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

<CommunicationChatBubble /> is repeated 6 times. The page is quite slow, can we create a

const communicationChatBubble = <CommunicationChatBubble />;

outside of the render method?

Copy link
Member

Choose a reason for hiding this comment

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

Edit, http://babeljs.io/docs/plugins/transform-react-constant-elements/ should do it for us, that's not needed 😄.

@oliviertassinari
Copy link
Member

@Zadielerick Realy good work here 👍 👍!

@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation PR: Needs Review labels Jan 4, 2016
@Zadielerick
Copy link
Contributor Author

@oliviertassinari Thanks!

@@ -0,0 +1,41 @@
## Selectable List
Basically three steps are needed:
* enhance < List > with HOC
Copy link
Member

Choose a reason for hiding this comment

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

What about?

* enhance `List` with HOC

And same for any occurrences of < XXX >

oliviertassinari added a commit that referenced this pull request Jan 5, 2016
[Docs] Update Documentation for Lists
@oliviertassinari oliviertassinari merged commit 26da2f5 into mui:master Jan 5, 2016
import ListExampleFolders from './ExampleFolders.jsx';
import listExampleNestedCode from '!raw!./ExampleNested.jsx';
import ListExampleNested from './ExampleNested.jsx';
//ExampleNested causes warning!
Copy link
Member

Choose a reason for hiding this comment

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

@Zadielerick Could you remove this line? 😁

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@oliviertassinari Yes sorry, could I do it in any other PR?

@oliviertassinari
Copy link
Member

Sure. Thanks

@Zadielerick Zadielerick deleted the listDocsUpdate branch January 6, 2016 14:54
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.

2 participants