Skip to content

Commit

Permalink
Make type optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeniy committed May 17, 2024
1 parent e89e7ad commit edbcbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/Avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* Style type for the avatar.
*/
type: 'colored' | 'monochrome';
type?: 'colored' | 'monochrome';

/**
* Whether the avatar is rounded.
Expand Down

0 comments on commit edbcbbb

Please sign in to comment.