diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index c2dd44920..147d638ff 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -5,3 +5,13 @@ export * from './hooks'; export * from './prefabs'; export * from './context'; + +// Re-exports from core +export { + ChatMessage, + ReceivedChatMessage, + MessageDecoder, + MessageEncoder, + UserChoices, + setLogLevel, +} from '@livekit/components-core'; diff --git a/packages/react/src/prefabs/index.ts b/packages/react/src/prefabs/index.ts index a5ee88050..e63bfdd77 100644 --- a/packages/react/src/prefabs/index.ts +++ b/packages/react/src/prefabs/index.ts @@ -10,11 +10,3 @@ export { VideoConference, type VideoConferenceProps } from './VideoConference'; export { ControlBar, type ControlBarProps, type ControlBarControls } from './ControlBar'; export { MediaDeviceMenu, type MediaDeviceMenuProps } from './MediaDeviceMenu'; export { AudioConference, type AudioConferenceProps } from './AudioConference'; - -// Re-export types from core -export { - type ChatMessage, - type ReceivedChatMessage, - type MessageDecoder, - type MessageEncoder, -} from '@livekit/components-core';