Advertisement
Guest User

Untitled

a guest
May 19th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. import React from 'react';
  2. import ListItem from '@material-ui/core/ListItem';
  3. import ListItemIcon from '@material-ui/core/ListItemIcon';
  4. import ListItemText from '@material-ui/core/ListItemText';
  5. import InboxIcon from '@material-ui/icons/MoveToInbox';
  6. import DraftsIcon from '@material-ui/icons/Drafts';
  7. import StarIcon from '@material-ui/icons/Star';
  8. import SendIcon from '@material-ui/icons/Send';
  9.  
  10. function ListItemLink(props) {
  11. return <ListItem button component="a" {...props} />;
  12. }
  13.  
  14. export const gitItems = (
  15. <div>
  16. <ListItemLink button component="a" href="/">
  17. <ListItemIcon>
  18. <InboxIcon />
  19. </ListItemIcon>
  20. <ListItemText primary="GitUser" />
  21. </ListItemLink>
  22. <ListItemLink button component="a" href="/get-qux">
  23. <ListItemIcon>
  24. <SendIcon />
  25. </ListItemIcon>
  26. <ListItemText primary="Get Qux" />
  27. </ListItemLink>
  28. </div>
  29. );
  30.  
  31. export const demoItems = (
  32. <div>
  33. <ListItemLink button component="a" href="/api-foo">
  34. <ListItemIcon>
  35. <DraftsIcon />
  36. </ListItemIcon>
  37. <ListItemText primary="API Foo" />
  38. </ListItemLink>
  39. </div>
  40. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement