amis-rpc-design/node_modules/antd/lib/avatar/AvatarContext.d.ts

10 lines
367 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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;