Skip to content

Commit

Permalink
Fix package name in install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzhao committed Oct 28, 2023
1 parent aa54071 commit 6b00ed9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,25 @@
## Quick Start

First add the library to your project:

```shell
npm i @livekit/react-components
npm i @livekit/components-react
```

Then use any of our pre-fabricated or helper components:

```tsx
import { LiveKitRoom, VideoConference } from '@livekit/components-react'
import { LiveKitRoom, VideoConference } from '@livekit/components-react';

const TOKEN = 'generated-jwt'
const WS_URL = 'wss://my-livekit-server'
const TOKEN = 'generated-jwt';
const WS_URL = 'wss://my-livekit-server';

export default function Example() {
return (
<LiveKitRoom token={TOKEN} serverUrl={WS_URL} connect={true}>
<VideoConference />
</LiveKitRoom>
)
);
}
```

Expand Down

0 comments on commit 6b00ed9

Please sign in to comment.