mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 13:47:09 +00:00
first commit
This commit is contained in:
39
webapp/packages/chat-sdk/src/index.tsx
Normal file
39
webapp/packages/chat-sdk/src/index.tsx
Normal file
@@ -0,0 +1,39 @@
|
||||
import './styles/index.less';
|
||||
|
||||
// import React from 'react';
|
||||
// import ReactDOM from 'react-dom/client';
|
||||
// import Chat from './demo/Chat';
|
||||
|
||||
// const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
|
||||
|
||||
// root.render(
|
||||
// <React.StrictMode>
|
||||
// <Chat />
|
||||
// </React.StrictMode>
|
||||
// );
|
||||
|
||||
export { default as ChatMsg } from './components/ChatMsg';
|
||||
|
||||
export { default as ChatItem } from './components/ChatItem';
|
||||
|
||||
export type {
|
||||
SearchRecommendItem,
|
||||
FieldType,
|
||||
DomainInfoType,
|
||||
EntityInfoType,
|
||||
DateInfoType,
|
||||
ChatContextType,
|
||||
MsgValidTypeEnum,
|
||||
MsgDataType,
|
||||
ColumnType,
|
||||
SuggestionItemType,
|
||||
SuggestionType,
|
||||
SuggestionDataType,
|
||||
FilterItemType,
|
||||
HistoryType,
|
||||
HistoryMsgItemType,
|
||||
} from './common/type';
|
||||
|
||||
export { getHistoryMsg, searchRecommend, queryContext } from './service';
|
||||
|
||||
export { setToken } from './utils/utils';
|
||||
Reference in New Issue
Block a user