Skip to content

Commit

Permalink
proptypes & docs:api
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Jan 27, 2025
1 parent 34dad43 commit c8a6a51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/reference/generated/avatar-fallback.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "AvatarFallback",
"description": "Rendered when the image fails to load or when no image is provided.\nRenders a `<span>` element.",
"props": {
"delayMs": {
"delay": {
"type": "number",
"description": "Time in milliseconds to wait before showing the fallback."
"description": "How long to wait before showing the fallback. Specified in milliseconds."
},
"className": {
"type": "string | (state) => string",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/avatar/fallback/AvatarFallback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ AvatarFallback.propTypes /* remove-proptypes */ = {
*/
className: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
/**
* Time in milliseconds to wait before showing the fallback.
* How long to wait before showing the fallback. Specified in milliseconds.
*/
delay: PropTypes.number,
/**
Expand Down

0 comments on commit c8a6a51

Please sign in to comment.