amis-rpc-design/node_modules/antd/lib/avatar/AvatarContext.d.ts
2023-10-07 19:42:30 +08: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;