-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Conversation
<ListItem | ||
primaryText="Brendan Lim" | ||
leftAvatar={<Avatar src="images/ok-128.jpg" />} | ||
rightIcon={<CommunicationChatBubble />} /> |
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.
<CommunicationChatBubble />
is repeated 6 times. The page is quite slow, can we create a
const communicationChatBubble = <CommunicationChatBubble />;
outside of the render method?
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.
Edit, http://babeljs.io/docs/plugins/transform-react-constant-elements/ should do it for us, that's not needed 😄.
@Zadielerick Realy good work here 👍 👍! |
@oliviertassinari Thanks! |
f0bde64
to
8489ab1
Compare
@@ -0,0 +1,41 @@ | |||
## Selectable List | |||
Basically three steps are needed: | |||
* enhance < List > with HOC |
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.
What about?
* enhance `List` with HOC
And same for any occurrences of < XXX >
6de8ec8
to
7e6b09a
Compare
[Docs] Update Documentation for Lists
import ListExampleFolders from './ExampleFolders.jsx'; | ||
import listExampleNestedCode from '!raw!./ExampleNested.jsx'; | ||
import ListExampleNested from './ExampleNested.jsx'; | ||
//ExampleNested causes warning! |
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.
@Zadielerick Could you remove this line? 😁
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.
@oliviertassinari Yes sorry, could I do it in any other PR?
Sure. Thanks |
No description provided.