| | |
| | | import { BadgeProps } from '../badge/index'; |
| | | import { ImageProps } from '../image/index'; |
| | | import { ShapeEnum } from '../common/common'; |
| | | export interface TdAvatarProps { |
| | | alt?: { |
| | | type: StringConstructor; |
| | |
| | | bordered?: { |
| | | type: BooleanConstructor; |
| | | value?: boolean; |
| | | }; |
| | | style?: { |
| | | type: StringConstructor; |
| | | value?: string; |
| | | }; |
| | | externalClasses?: { |
| | | type: ArrayConstructor; |
| | | value?: ['t-class', 't-class-image', 't-class-icon', 't-class-alt', 't-class-content']; |
| | | }; |
| | | hideOnLoadFailed?: { |
| | | type: BooleanConstructor; |
| | |
| | | }; |
| | | imageProps?: { |
| | | type: ObjectConstructor; |
| | | value?: object; |
| | | value?: ImageProps; |
| | | }; |
| | | shape?: { |
| | | type: StringConstructor; |
| | |
| | | value?: string; |
| | | }; |
| | | } |
| | | export declare type ShapeEnum = 'circle' | 'round'; |