PromoCursed/node_modules/antd/lib/avatar/AvatarContext.d.ts
2024-08-20 23:25:37 +04:00

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;