Skip to content

Commit 293865b

Browse files
Merge pull request #4153 from mbrookes/cardheader-avatar-prop-description
[CardHeader] Standardise `avatar` prop description
2 parents 35394a0 + 2d897cf commit 293865b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Card/CardHeader.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ class CardHeader extends Component {
4444
actAsExpander: PropTypes.bool,
4545
/**
4646
* This is the [Avatar](/#/components/avatar) element to be displayed on the Card Header.
47+
* If `avatar` is an `Avatar` or other element, it will be rendered.
48+
* If `avatar` is a string, it will be used as the image `src` for an `Avatar`.
4749
*/
4850
avatar: PropTypes.node,
4951
/**

0 commit comments

Comments
 (0)