import { IonIcon } from '@ionic/react';
import { accessibility } from 'ionicons/icons';
import React from 'react';

export function NumOfMemberJoin({ joinMembers }) {
  return (
    <>
      <IonIcon
        icon={accessibility}
        style={{ fontSize: '1.1rem', color: 'rgb(139, 44, 245)' }}
      ></IonIcon>
      <div>{joinMembers.length}</div>
    </>
  );
}
