Skip to content

Commit

Permalink
fix(Badge): mode is optional (#6947)
Browse files Browse the repository at this point in the history
- Fixes #6946
  • Loading branch information
SevereCloud authored May 28, 2024
1 parent 6518741 commit 42f878a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vkui/src/components/Badge/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const stylesMode = {
};

export interface BadgeProps extends RootComponentProps<HTMLSpanElement> {
mode: 'new' | 'prominent';
mode?: 'new' | 'prominent';
}

/**
Expand Down

0 comments on commit 42f878a

Please sign in to comment.