Skip to content

Commit

Permalink
Bump version (#4)
Browse files Browse the repository at this point in the history
* feat: update readme file

* feat: bump version

* feat: update readme file

* feat: update readme file

* feat: update readme file

* feat: bump version
  • Loading branch information
ederssouza authored Oct 9, 2022
1 parent 2eb6f27 commit 60c0897
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,25 @@ Choose the package manager your preference:
With [npm](https://npmjs.com/):

```bash
$ npm install @ederssouza/react-vimeo-player
$ npm install reactjs-vimeo-player
```

With [yarn](https://yarnpkg.com/):

```bash
$ yarn add @ederssouza/react-vimeo-player
$ yarn add reactjs-vimeo-player
```

With [pnpm](https://pnpm.io/):

```bash
$ pnpm add @ederssouza/react-vimeo-player
$ pnpm add reactjs-vimeo-player
```

## How to use

```jsx
import { VimeoPlayer } from '@ederssouza/react-vimeo-player'
import { VimeoPlayer } from 'reactjs-vimeo-player'

function Component() {
return <VimeoPlayer id="59777392" />
Expand All @@ -86,8 +86,8 @@ export default Component
## Options

```jsx
import { VimeoPlayer } from '@ederssouza/react-vimeo-player'
import type { PlayEvent } from '@ederssouza/react-vimeo-player'
import { VimeoPlayer } from 'reactjs-vimeo-player'
import type { PlayEvent } from 'reactjs-vimeo-player'

function Component() {
return <Vimeo id="59777392" autoplay />
Expand Down Expand Up @@ -131,8 +131,8 @@ width | `number` | | The exact width of the v
You can listen for events in the player by attaching a callback as React property:

```tsx
import { VimeoPlayer } from '@ederssouza/react-vimeo-player'
import type { PlayEvent } from '@ederssouza/react-vimeo-player'
import { VimeoPlayer } from 'reactjs-vimeo-player'
import type { PlayEvent } from 'reactjs-vimeo-player'

function Component() {
function onPlay(event: PlayEvent) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactjs-vimeo-player",
"version": "1.0.2",
"version": "1.0.3",
"type": "module",
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
Expand Down

0 comments on commit 60c0897

Please sign in to comment.