Skip to content

Commit

Permalink
updated the examples, and corrected spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Rosier committed Feb 16, 2016
1 parent 73a4f44 commit 2c1ca8a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import React from 'react';

import MoreVertIcon from 'material-ui/lib/svg-icons/navigation/more-vert';
import IconMenu from 'material-ui/lib/menus/icon-menu';
import MenuItem from 'material-ui/lib/menus/menu-item';
import IconButton from 'material-ui/lib/icon-button';
import Divider from 'material-ui/lib/divider';

import Download from 'material-ui/lib/svg-icons/file/file-download';
import ArrowDropRight from 'material-ui/lib/svg-icons/navigation-arrow-drop-right';
import MoreVertIcon from 'material-ui/lib/svg-icons/navigation/more-vert';

const IconMenuExampleNested = () => (
<div>
Expand All @@ -19,6 +22,7 @@ const IconMenuExampleNested = () => (
menuItems={[
<MenuItem primaryText="Cut" />,
<MenuItem primaryText="Copy" />,
<Divider />,
<MenuItem primaryText="Paste" />,
]}
/>
Expand All @@ -33,6 +37,10 @@ const IconMenuExampleNested = () => (
<MenuItem primaryText="Propercase" />,
]}
/>
<Divider />
<MenuItem primaryText="Download" leftIcon={<Download />} />
<Divider />
<MenuItem value="Del" primaryText="Delete" />

</IconMenu>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/src/app/components/pages/components/IconMenu/Page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const descriptions = {
'targetOrigin` properties.',
controlled: 'Two controlled examples, the first allowing a single selection, the second multiple selections.',
scrollable: 'The `maxHeight` property limits the height of the menu, above which it will be scrollable.',
nested: 'Example of nested menus within a IconMenu.',
nested: 'Example of nested menus within an IconMenu.',
};

const IconMenusPage = () => (
Expand Down

0 comments on commit 2c1ca8a

Please sign in to comment.