2.0.11 • Published 9 months ago
@livelike/tf1-components v2.0.11
TF1 Livelike Hug Room
This package exposes TF1 hug room component.
Installation
Install package with npm
npm install @livelike/tf-hug-room
Usage
Once dependency is added to project. You need to use LLHugMainComponent
to render Hug Room UI.
Example:
import './App.css';
import { LLHugMainComponent, useLivelikeInit } from '@livelike/tf-hug-room';
function App() {
const clientId = '{your-client-id}';
const { loaded: livelikeLoaded, profile } = useLivelikeInit({
clientId: clientId
})
if (!livelikeLoaded) {
return (
<p>Loading...</p>
);
}
if (!profile) {
return <p>Error In Loading livelike...</p>
}
return (
<div className="App">
<LLHugMainComponent clientId="{clientId}" customId="tf1live"></LLHugMainComponent>
</div>
);
}
export default App;```
2.0.11
9 months ago
2.0.9
10 months ago
2.0.10
10 months ago
2.0.8
10 months ago
2.0.3
11 months ago
2.0.2
11 months ago
2.0.5
11 months ago
2.0.4
11 months ago
2.0.7
11 months ago
2.0.6
11 months ago
2.0.1
11 months ago
2.0.0
11 months ago
1.11.9
1 year ago
1.11.10
1 year ago
1.11.8
1 year ago
1.11.7
1 year ago
1.11.5
1 year ago
1.11.4
1 year ago
1.11.3
1 year ago
1.11.2
1 year ago
1.11.1
1 year ago
1.11.0
1 year ago
1.10.0
2 years ago
1.9.0
2 years ago
1.8.0
2 years ago
1.7.0
2 years ago
1.6.0
2 years ago
1.5.0
2 years ago
1.4.0
2 years ago
1.3.0
2 years ago
1.2.0
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago