flowplayer / react-flowplayer

Flowplayer React Component
MIT License
2 stars 3 forks source link

Fix/previews #35

Closed rashadatjou closed 1 year ago

rashadatjou commented 1 year ago

This PR adds the following:

rashadatjou commented 1 year ago

The new props setup allow for simpler front facing API of the Component + fixes the issue where the plugin options could not be set in a typescript project such as preview.

type Props = {
  token: Config["token"],
  src: Config["src"],
  opts?: Omit<ConfigWith<any>, "token" | "src">
}
nnarhinen commented 1 year ago

@Denpex I guess this changes the outwards facing API so we need to do a proper version bumb?