The communications platform that puts data protection first.
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.
 
 
 
 
 
Rocket.Chat/apps/meteor/client/hooks/quickActions/useCloseChatQuickAction.ts

17 lines
411 B

import { useMemo } from 'react';
import { QuickActionsEnum, type QuickActionsActionConfig } from '../../views/room/lib/quickActions';
export const useCloseChatQuickAction = (): QuickActionsActionConfig => {
return useMemo(
() => ({
groups: ['live'],
id: QuickActionsEnum.CloseChat,
title: 'End_conversation',
icon: 'balloon-close-top-right',
order: 5,
color: 'danger',
}),
[],
);
};