10 lines
367 B
TypeScript
10 lines
367 B
TypeScript
import * as React from 'react';
|
|
import type { ScreenSizeMap } from '../_util/responsiveObserver';
|
|
export type AvatarSize = 'large' | 'small' | 'default' | number | ScreenSizeMap;
|
|
export interface AvatarContextType {
|
|
size?: AvatarSize;
|
|
shape?: 'circle' | 'square';
|
|
}
|
|
declare const AvatarContext: React.Context<AvatarContextType>;
|
|
export default AvatarContext;
|