Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Commit 1eb060f

Browse files
committed
chore: chat/bubble/parent-ui index file 추가
1 parent 2d8dc16 commit 1eb060f

5 files changed

Lines changed: 7 additions & 5 deletions

File tree

packages/tds-widget/src/chat/bubble/bubble-ui.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
import { ProductBubble } from './product'
1414
import AlteredBubble from './altered'
1515
import { ALTERNATIVE_TEXT_MESSAGE } from './constants'
16-
import { ParentMessageUIProp } from './parent/parent-ui'
16+
import { ParentMessageUIProp } from './parent'
1717

1818
export const BubbleTypeArray = ['text', 'images', 'rich', 'product'] as const
1919

packages/tds-widget/src/chat/bubble/bubble.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useLongPress } from 'use-long-press'
44
import { Text } from '@titicaca/tds-ui'
55

66
import { BubbleCSSProp, BubbleProp } from './type'
7-
import ParentMessageUI, { ParentMessageUIProp } from './parent/parent-ui'
7+
import ParentMessageUI, { ParentMessageUIProp } from './parent'
88

99
const StyledBubble = styled(Text).attrs({
1010
textAlign: 'left',
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { default } from './parent-ui'
2+
export type { ParentMessageUIProp } from './parent-ui'

packages/tds-widget/src/chat/bubble/parent/parent-ui.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ interface ParentMessageInterface {
1313
id: string
1414
sender: UserInterface
1515
}
16-
export interface TextParentMessage extends ParentMessageInterface {
16+
interface TextParentMessage extends ParentMessageInterface {
1717
type: 'text'
1818
value: {
1919
message: string
2020
}
2121
}
2222

23-
export interface ImageParentMessage extends ParentMessageInterface {
23+
interface ImageParentMessage extends ParentMessageInterface {
2424
type: 'image'
2525
value: {
2626
images: MetaDataInterface[]

packages/tds-widget/src/chat/bubble/type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { CSSProp } from 'styled-components'
44

55
import { MetaDataInterface } from '../types'
66

7-
import { ParentMessageUIProp } from './parent/parent-ui'
7+
import { ParentMessageUIProp } from './parent'
88

99
type CustomerBookingStatus =
1010
| 'BOOKED'

0 commit comments

Comments
 (0)