diff --git a/app/components/ConferenceDrawerParticipantList.js b/app/components/ConferenceDrawerParticipantList.js index 9e76f9a..8d5781b 100644 --- a/app/components/ConferenceDrawerParticipantList.js +++ b/app/components/ConferenceDrawerParticipantList.js @@ -1,21 +1,23 @@ - import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; -import { List, Title } from 'react-native-paper'; +import { FlatList } from 'react-native'; +import { Title } from 'react-native-paper'; + -const ConferenceDrawerParticipantList = (props) => { +const ConferenceDrawerParticipantList = props => { return ( Participants - - {props.children} - + {return (item)}} + /> ); }; ConferenceDrawerParticipantList.propTypes = { children: PropTypes.node }; export default ConferenceDrawerParticipantList;