1
0

App.js 681 B

12345678910111213141516171819202122232425262728293031
  1. import React from 'react'
  2. import { List } from 'mokkon-reactjs'
  3. import 'mokkon-reactjs/dist/index.css'
  4. const App = () => {
  5. const pediatricians = [
  6. 'Michael Lopez',
  7. 'Sally Tran',
  8. 'Brian Lu',
  9. 'Troy Sakulbulwanthana',
  10. 'Lisa Wellington',
  11. ]
  12. const psychiatrists = [
  13. 'Miguel Rodriduez',
  14. 'Cassady Campbell',
  15. 'Mike Torrence',
  16. ]
  17. return <div>
  18. <div className="root">
  19. <div className="listContainer">
  20. <List groupName="Pediatricians" members={pediatricians} />
  21. </div>
  22. <div className="listContainer">
  23. <List groupName="Psychiatrists" members={psychiatrists} />
  24. </div>
  25. </div> </div>
  26. }
  27. export default App