Skip to content

Commit a505978

Browse files
Updating the docs
1 parent 590c791 commit a505978

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

src/components/MessageSimple/index.js

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,35 @@ const Container = styled.View`
3131
export const MessageSimple = themed(
3232
class MessageSimple extends React.PureComponent {
3333
static propTypes = {
34-
/** Custom UI component for the avatar next to a message */
34+
/**
35+
* Custom UI component for the avatar next to a message
36+
* Defaults to: https://github.com/GetStream/stream-chat-react-native/blob/master/src/components/MessageSimple/MessageAvatar.js
37+
* */
3538
MessageAvatar: PropTypes.oneOfType([
3639
PropTypes.node,
3740
PropTypes.elementType,
3841
]),
39-
/** Custom UI component for message content */
42+
/**
43+
* Custom UI component for message content
44+
* Defaults to: https://github.com/GetStream/stream-chat-react-native/blob/master/src/components/MessageSimple/MessageContent.js
45+
* */
4046
MessageContent: PropTypes.oneOfType([
4147
PropTypes.node,
4248
PropTypes.elementType,
4349
]),
44-
/** Custom UI component for message status (delivered/read) */
50+
/**
51+
* Custom UI component for message status (delivered/read)
52+
* Defaults to: https://github.com/GetStream/stream-chat-react-native/blob/master/src/components/MessageSimple/MessageStatus.js
53+
*
54+
* */
4555
MessageStatus: PropTypes.oneOfType([
4656
PropTypes.node,
4757
PropTypes.elementType,
4858
]),
49-
/** Custom UI component for Messages of type "system" */
59+
/**
60+
* Custom UI component for Messages of type "system"
61+
* Defaults to: https://github.com/GetStream/stream-chat-react-native/blob/master/src/components/MessageSystem.js
62+
* */
5063
MessageSystem: PropTypes.oneOfType([
5164
PropTypes.node,
5265
PropTypes.elementType,

0 commit comments

Comments
 (0)