Skip to content

Commit

Permalink
답장하기 버튼에 data-id 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
guswl98 committed Jan 22, 2025
1 parent 61ffd62 commit 3e08032
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/chat/src/bubble-container/bubble-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Container, Text } from '@titicaca/core-elements'
import { format, setDefaultOptions } from 'date-fns'
import { ko } from 'date-fns/locale'

import { ReplyMessageIcon } from '../icons/reply-meesage-icon'
import { ReplyMessageIcon } from '../icons/reply-message-icon'

const BubbleInfoContainer = styled(Container)`
vertical-align: bottom;
Expand Down Expand Up @@ -47,7 +47,11 @@ export function BubbleInfo({
return (
<BubbleInfoContainer position="relative" display="inline-block" {...props}>
{onReplyClick ? (
<ReplyActionButton align={align} onClick={onReplyClick}>
<ReplyActionButton
align={align}
onClick={onReplyClick}
data-id="reply-button"
>
<ReplyMessageIcon />
</ReplyActionButton>
) : null}
Expand Down

0 comments on commit 3e08032

Please sign in to comment.