Skip to content

Commit

Permalink
feat: move features to their own file to compose on demand
Browse files Browse the repository at this point in the history
  • Loading branch information
Shibani Basava authored and Shibani Basava committed Feb 12, 2024
1 parent 89ce27c commit e16dc15
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
10 changes: 10 additions & 0 deletions packages/chat-component/src/components/features.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// [COMPOSE COMPONENTS START]
import './voice-input.js';
import './voice-input-button.js';

import './default-questions.js';
import './teaser-list-component.js';

import './document-previewer.js';
import './citation-previewer.js';
// [COMPOSE COMPONENTS END]
13 changes: 1 addition & 12 deletions packages/chat-component/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,7 @@ import './tab-component.js';
import './citation-list.js';
import './chat-thread-component.js';
import './chat-action-button.js';

import './copy-entry-to-clipboard.js';

// [COMPOSE COMPONENTS START]
import './voice-input.js';
import './voice-input-button.js';

import './default-questions.js';
import './teaser-list-component.js';

import './document-previewer.js';
import './citation-previewer.js';
// [COMPOSE COMPONENTS END]

import './features.js';
export * from './chat-component.js';

0 comments on commit e16dc15

Please sign in to comment.