RocketChat/Rocket.Chat

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

Summary

Maintainability
A
0 mins
Test Coverage
import type { ReactNode } from 'react';
import React from 'react';

import Section from './InfoPanelSection';

type InfoPanelAvatarProps = {
    children?: ReactNode;
};

const InfoPanelAvatar = ({ children }: InfoPanelAvatarProps) => (
    <Section display='flex' justifyContent='center'>
        {children}
    </Section>
);

export default InfoPanelAvatar;