UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

11 lines (10 loc) 362 B
import React from 'react'; import { UserProfile } from '../utils/synapseTypes'; export declare type AvatarSize = 'SMALL' | 'MEDIUM' | 'LARGE'; export declare type AvatarProps = { userProfile: UserProfile; avatarSize?: AvatarSize; imageURL?: string; showCardOnHover?: boolean; }; export declare const Avatar: React.FunctionComponent<AvatarProps>;