Skip to content

Commit 2d897cf

Browse files
committed
[CardHeader] Standardise avatar prop description
1 parent 21e1822 commit 2d897cf

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)