Skip to content

Fix/previews#35

Merged
nnarhinen merged 4 commits intomainfrom
fix/previews
Sep 13, 2022
Merged

Fix/previews#35
nnarhinen merged 4 commits intomainfrom
fix/previews

Conversation

@br3akzero
Copy link

This PR adds the following:

  • Refactored demo
  • Demo with Preview plugin
  • Refactoring of the exposed props of

@br3akzero br3akzero self-assigned this Sep 12, 2022
@br3akzero
Copy link
Author

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
Copy link
Contributor

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

@nnarhinen nnarhinen merged commit 08f04bc into main Sep 13, 2022
@nnarhinen nnarhinen deleted the fix/previews branch September 13, 2022 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments