mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-19 17:52:45 +02:00
23 lines
609 B
TypeScript
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>
|
|
);
|
|
};
|