@aplus-frontend/antdv
Version:
Vue basic component library maintained based on ant-design-vue
9 lines (8 loc) • 396 B
TypeScript
import type { ScreenSizeMap } from '../_util/responsiveObserve';
export type AvatarSize = 'large' | 'small' | 'default' | number | ScreenSizeMap;
export interface AvatarContextType {
size?: AvatarSize;
shape?: 'circle' | 'square';
}
export declare const useAvatarInjectContext: () => AvatarContextType;
export declare const useAvatarProviderContext: (context: AvatarContextType) => void;