@toppr-engg/ask-tutor 0.3.0 → 0.3.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/lib/ask-tutor.umd.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -15,10 +15,10 @@ _yarn add @toppr-engg/ask-tutor_
|
|
15
15
|
_yarn add react react-dom react-redux redux redux-saga_
|
16
16
|
|
17
17
|
```javascript
|
18
|
-
import
|
18
|
+
import Asktutor from '@toppr-engg/ask-tutor'
|
19
19
|
function App() {
|
20
20
|
return (
|
21
|
-
<
|
21
|
+
<Asktutor
|
22
22
|
clientId={clientId} //required --> string
|
23
23
|
token={token} //required --> string
|
24
24
|
apiBaseUrl={apiBaseUrl} //optional --> string. Determines which env(preprod or prod) to initiate for doubts module
|
@@ -37,6 +37,7 @@ function App() {
|
|
37
37
|
handleGoToHomeClick={handleGoToHomeClick} //optional --> func --> redirect to homepage
|
38
38
|
preventSocketConnections={preventSocketConnections} //optional --> boolean --> to prevent the socket connection. --> by default it is false.
|
39
39
|
isChatOnly={isChatOnly} //optional --> boolean --> by default false --> to enable the chat feature only when isChatOnly is true.
|
40
|
+
doubtSource={doubtSource} //optional --> string --> to check from where the doubt is triggered
|
40
41
|
/>
|
41
42
|
)
|
42
43
|
}
|