Browse Source

Updated CommentProps type for author

pull/13680/head
Justin Reich 6 years ago
committed by 偏右
parent
commit
d0d5481c17
  1. 2
      components/comment/index.tsx

2
components/comment/index.tsx

@ -5,7 +5,7 @@ export interface CommentProps {
/** List of action items rendered below the comment content */
actions?: Array<React.ReactNode>;
/** The element to display as the comment author. */
author?: string;
author?: React.ReactNode;
/** The element to display as the comment avatar - generally an antd Avatar */
avatar?: React.ReactNode;
/** className of comment */

Loading…
Cancel
Save