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/providers/ActionManagerProvider.tsx

15 lines
534 B

import type { ReactNode, ReactElement } from 'react';
import React from 'react';
import * as ActionManager from '../../app/ui-message/client/ActionManager';
import { ActionManagerContext } from '../contexts/ActionManagerContext';
type ActionManagerProviderProps = {
children?: ReactNode;
};
const ActionManagerProvider = ({ children }: ActionManagerProviderProps): ReactElement => {
return <ActionManagerContext.Provider value={ActionManager}>{children}</ActionManagerContext.Provider>;
};
export default ActionManagerProvider;