RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/components/message/content/Action.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { IconButton } from '@rocket.chat/fuselage';
import type { ComponentProps, ReactElement } from 'react';
import React from 'react';

type ActionProps = ComponentProps<typeof IconButton> & { icon: string };

const Action = (props: ActionProps): ReactElement => <IconButton mi={2} mini {...props} />;

export default Action;