RocketChat/Rocket.Chat

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

Summary

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

type InfoPanelProps = {
    children?: ReactNode;
};

const InfoPanel = ({ children }: InfoPanelProps) => (
    <Box flexGrow={1} mb='neg-x24'>
        {children}
    </Box>
);

export default InfoPanel;