Skip to content

Commit 7d73290

Browse files
committed
reply button 상수 추가
1 parent 93ef7c9 commit 7d73290

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/chat/src/bubble-container/bubble-info.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { format, setDefaultOptions } from 'date-fns'
44
import { ko } from 'date-fns/locale'
55

66
import { ReplyMessageIcon } from '../icons/reply-message-icon'
7+
import { REPLY_BUTTON_DATA_ID } from '../chat/constants'
78

89
const BubbleInfoContainer = styled(Container)`
910
vertical-align: bottom;
@@ -50,7 +51,7 @@ export function BubbleInfo({
5051
<ReplyActionButton
5152
align={align}
5253
onClick={onReplyClick}
53-
data-id="reply-button"
54+
data-id={REPLY_BUTTON_DATA_ID}
5455
>
5556
<ReplyMessageIcon />
5657
</ReplyActionButton>

packages/chat/src/chat/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
export const DEFAULT_MESSAGE_ID_PREFIX = 'message'
2+
3+
export const REPLY_BUTTON_DATA_ID = 'reply-button'

0 commit comments

Comments
 (0)