2.0.11 • Published 11 months ago

@livelike/tf1-components v2.0.11

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

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

11 months ago

2.0.9

11 months ago

2.0.10

11 months ago

2.0.8

12 months ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.7

12 months ago

2.0.6

1 year ago

2.0.1

1 year ago

2.0.0

1 year 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