import * as React from "react"; interface InterfaceProps { users?: any; } export class UserList extends React.Component { constructor(props: any) { super(props); } render() { const { users }: any = this.props; return (

List of Usernames of Users

(Saved on Sign Up in Firebase Database)

{Object.keys(users).map(key => (
{users[key].username}
))}
); } }