Skip to content

Commit

Permalink
style(esl-avatar): update shape for TSX
Browse files Browse the repository at this point in the history
  • Loading branch information
dshovchko committed Nov 15, 2023
1 parent e3a22bf commit e97dbc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/esl-avatar/core/esl-avatar.shape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ import type {ESLAvatar} from './esl-avatar';
*/
export interface ESLAvatarTagShape extends ESLBaseElementShape<ESLAvatar> {
/** URL of the avatar image */
'image-url'?: string;
'image-src'?: string;
/** The name of the user for whom the avatar is displayed */
username?: string;
/** Policy of loading image that is outside of the viewport */
loading?: 'eager' | 'lazy';
/** The limit number of letters to be displayed in text-only mode */
limit?: number;

/** Children are not allowed for ESLAvatar */
children?: never[];
Expand Down

0 comments on commit e97dbc3

Please sign in to comment.