// Copyright 2020 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import { bemGenerator } from './util'; export type Props = { ariaLabel: string; icon: string; onClick?: () => void; }; const bem = bemGenerator('module-conversation-details-icon'); export const ConversationDetailsIcon: React.ComponentType = ({ ariaLabel, icon, onClick, }) => { const content =
; if (onClick) { return ( ); } return content; };