RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/components/InfoPanel/InfoPanelActionGroup.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { ButtonGroup } from '@rocket.chat/fuselage';
import type { ComponentPropsWithoutRef } from 'react';
import React from 'react';

import Section from './InfoPanelSection';

type InfoPanelActionGroupProps = ComponentPropsWithoutRef<typeof ButtonGroup>;

const InfoPanelActionGroup = (props: InfoPanelActionGroupProps) => (
    <Section>
        <ButtonGroup align='center' stretch {...props} />
    </Section>
);

export default InfoPanelActionGroup;