@ngx-bio-components/avatar
import { BioButtonModule } from '@ngx-bio-components/avatar';
<bio-avatar [avatar]="avatar"></bio-avatar>
export type Avatar = {
shape?: 'circular' | 'rounded';
size?: 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
badgePosition?: 'topRight' | 'bottomRigh';
badgeColor?: 'gray' | 'red' | 'green';
img?: string | undefined | null;
alt?: string;
placeholder?: string;
path?: string;
};
Name | Description |
---|---|
@Input() avatar: Avatar
|
Avatar input |