Skip to content

Commit f7d1357

Browse files
committed
chore: add unread message string and icon resources for docs
1 parent 89bdb72 commit f7d1357

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import type { StringSet } from '@sendbird/uikit-react-native';
2+
3+
/**
4+
* String resource
5+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/reactions}
6+
* */
7+
function _stringResource(str: StringSet) {
8+
str.GROUP_CHANNEL.LIST_FLOATING_UNREAD_MSG;
9+
str.LABELS.CHANNEL_MESSAGE_MARK_AS_UNREAD;
10+
}
11+
/** ------------------ **/
12+
// interface StringSet {
13+
// GROUP_CHANNEL: {
14+
// LIST_FLOATING_UNREAD_MSG: (unreadMessageCount: number) => string;
15+
// };
16+
// }
17+
//
18+
// interface StringSet {
19+
// LABELS: {
20+
// CHANNEL_MESSAGE_MARK_AS_UNREAD: string;
21+
// };
22+
// }
23+
24+
/** ------------------ **/
25+
26+
/**
27+
* Icon resource
28+
* {@link https://sendbird.com/docs/chat/uikit/v3/react-native/features/reactions#mark-as-unread-icon-resource}
29+
* */
30+
import { Icon } from '@sendbird/uikit-react-native-foundation';
31+
32+
Icon.Assets['mark-as-unread'] = require('your_icons/icon-mark-as-unread.png');
33+
/** ------------------ **/

0 commit comments

Comments
 (0)