open-index/open-npm huggingface dataset:
npm package: @ideabosque/chat-core
Description: ```js import ChatCore from '@ideabosque/chat-core';
Latest version: 0.6.7

# Ideabosque chat core

```js
import ChatCore from '@ideabosque/chat-core';

const App = () => {
  return (
    <ChatCore
      ref={ref}
      wsUrl={wsUrl}
      configs={wsConfigs}
      onConnect={onLoaded}
      onCompleted={() => {
        console.log('xxx')
      }}
      renderItem={(row) => {
        return (
          <div>
            {row.engine}
            {row.loading ? 'loading...' : null}
          </div>
        )
      }}
    >
  ) 
}
```