Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. import React from "react";
  2.  
  3. import Joke from "./Joke";
  4.  
  5. function App() {
  6. return (
  7. <div>
  8. <Joke
  9. question="What's the best thing about Switzerland?"
  10. punchLine="I don't know, but the flag is a big plus!"
  11. />
  12.  
  13. <Joke
  14. question="Did you hear about the mathematician who's afraid of negative numbers?"
  15. punchLine="He'll stop at nothing to avoid them!"
  16. />
  17.  
  18. <Joke
  19. question="Hear about the new restaurant called Karma?"
  20. punchLine="There’s no menu: You get what you deserve."
  21. />
  22.  
  23. <Joke
  24. question="Did you hear about the actor who fell through the floorboards?"
  25. punchLine="He was just going through a stage."
  26. />
  27.  
  28. <Joke
  29. question="Did you hear about the claustrophobic astronaut?"
  30. punchLine="He just needed a little space."
  31. />
  32. </div>
  33. );
  34. }
  35.  
  36. export default App;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement