Created
April 14, 2020 14:58
-
-
Save jsmanifest/3dd9bafdc1f4e0e54111db85491dbb65 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import './styles.css' | |
function App() { | |
const pediatricians = [ | |
'Michael Lopez', | |
'Sally Tran', | |
'Brian Lu', | |
'Troy Sakulbulwanthana', | |
'Lisa Wellington', | |
] | |
const psychiatrists = [ | |
'Miguel Rodriduez', | |
'Cassady Campbell', | |
'Mike Torrence', | |
] | |
return ( | |
<div className="root"> | |
<div className="listContainer"> | |
<List groupName="Pediatricians" members={pediatricians} /> | |
</div> | |
<div className="listContainer"> | |
<List groupName="Psychiatrists" members={psychiatrists} /> | |
</div> | |
</div> | |
) | |
} | |
export default App |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment