Skip to content

Commit

Permalink
Move re-exports to highest react package level
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Nov 7, 2023
1 parent 3f27d8f commit ea906d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 10 additions & 0 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
8 changes: 0 additions & 8 deletions packages/react/src/prefabs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit ea906d6

Please sign in to comment.