superdesk/superdesk-client-core

View on GitHub
scripts/apps/users/components/OrganisationAvatar.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import React from 'react';
import {AvatarWrapper, AvatarContentImage} from 'superdesk-ui-framework/react';

interface IProps {
    size: 'small' | 'medium' | 'large';
}

export class UserOrganisationAvatar extends React.PureComponent<IProps> {
    render() {
        return (
            <AvatarWrapper
                size={this.props.size}
            >
                <AvatarContentImage
                    imageUrl="/images/avatar_group_64_green_bg.png"
                />
            </AvatarWrapper>
        );
    }
}