You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ParticipantActionEllipsis.tsx 755B

123456789101112131415161718192021222324252627282930
  1. import React from 'react';
  2. import { IconDotsHorizontal } from '../../../base/icons/svg';
  3. import Button from '../../../base/ui/components/web/Button';
  4. interface IProps {
  5. /**
  6. * Label used for accessibility.
  7. */
  8. accessibilityLabel: string;
  9. /**
  10. * Click handler function.
  11. */
  12. onClick: () => void;
  13. participantID?: string;
  14. }
  15. const ParticipantActionEllipsis = ({ accessibilityLabel, onClick, participantID }: IProps) => (
  16. <Button
  17. accessibilityLabel = { accessibilityLabel }
  18. icon = { IconDotsHorizontal }
  19. onClick = { onClick }
  20. size = 'small'
  21. testId = { participantID ? `participant-more-options-${participantID}` : undefined } />
  22. );
  23. export default ParticipantActionEllipsis;