File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed
src/components/MessageSimple Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -31,22 +31,35 @@ const Container = styled.View`
3131export 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 ,
You can’t perform that action at this time.
0 commit comments