jiti-meet/react/features/participants-pane/components/web/ParticipantActionEllipsis.tsx

28 lines
618 B
TypeScript
Raw Normal View History

import React from 'react';
import { IconDotsHorizontal } from '../../../base/icons/svg';
import Button from '../../../base/ui/components/web/Button';
interface IProps {
/**
* Label used for accessibility.
*/
accessibilityLabel: string;
/**
* Click handler function.
*/
onClick: () => void;
}
const ParticipantActionEllipsis = ({ accessibilityLabel, onClick }: IProps) => (
<Button
accessibilityLabel = { accessibilityLabel }
icon = { IconDotsHorizontal }
onClick = { onClick }
size = 'small' />
);
export default ParticipantActionEllipsis;