1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/frontend/src/component/changeRequest/ProjectChangeRequests/ChangeRequestsTabs/AvatarCell.tsx
2023-04-17 16:03:59 +03:00

23 lines
609 B
TypeScript

import { TextCell } from 'component/common/Table/cells/TextCell/TextCell';
import { styled, Typography } from '@mui/material';
const StyledContainer = styled('div')(({ theme }) => ({
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
margin: 0,
}));
export const AvatarCell = ({ value }: any) => {
return (
<TextCell>
<StyledContainer>
<Typography component={'span'} variant={'body2'}>
{' '}
{value?.username}
</Typography>
</StyledContainer>
</TextCell>
);
};