0.1.15 • Published 2 years ago
laika-ti-chatgpt-react v0.1.15
Dependencies
| React Js |
| Material UI |
| Socket IO |
| swiper |
| moment |
| classnames |
Installation
$ npm install laika-ti-chatgpt-reactor
$ yarn add laika-ti-chatgpt-reactUsage
Add LaikaChatGPT to your component:
import React from 'react'
import ReactDOM from 'react-dom/client'
import { LaikaChatGPT } from 'laika-ti-chatgpt-react'
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
<React.StrictMode>
<LaikaChatGPT
host=""
user={{
id: 0,
userId: 0,
avatar: '',
email: '',
fullname: '',
tokenAuth: '',
socketId: '',
}}
/>
</React.StrictMode>,
)License
Laika is MIT licensed.
Author - Daniel Villanueva