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/client/components/Header/ToolBoxAction.tsx

21 lines
449 B

import { ActionButton } from '@rocket.chat/fuselage';
import React, { FC } from 'react';
const ToolBoxAction: FC<any> = ({ id, icon, color, title, action, className, index, ...props }) => (
<ActionButton
className={className}
onClick={action}
title={title}
data-toolbox={index}
key={id}
icon={icon}
position='relative'
ghost
tiny
overflow='visible'
color={!!color && color}
{...props}
/>
);
export default ToolBoxAction;