Skip to content

Commit

Permalink
chore: make text required if subtitleOptions specified
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsiemens committed Jul 8, 2024
1 parent a9dd9b9 commit 46d165c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/data-display/Avatar/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { formatString, validString } from 'src/utils/utils'

export interface IAvatarProps extends AntAvatarProps {
subtitleOptions?: {
text?: string
text: string
/** Length of the subtitle to display before cutoff with ellipses */
limit?: number
}
Expand Down

0 comments on commit 46d165c

Please sign in to comment.