1 import React from 'react'; 2 import { useTranslation } from 'react-i18next'; 3 4 import { IconDotsHorizontal } from '../../../../../base/icons/svg'; 5 import Button from '../../../../../base/ui/components/web/Button'; 6 7 interface IProps { 8 9 /** 10 * Click handler function. 11 */ 12 onClick: () => void; 13 } 14 15 const RoomActionEllipsis = ({ onClick }: IProps) => { 16 const { t } = useTranslation(); 17 18 return ( 19 <Button 20 accessibilityLabel = { t('breakoutRooms.actions.more') } 21 icon = { IconDotsHorizontal } 22 onClick = { onClick } 23 size = 'small' /> 24 ); 25 }; 26 27 export default RoomActionEllipsis;