Skip to content

Commit

Permalink
Merge pull request #511 from player-ui/docs-fixes
Browse files Browse the repository at this point in the history
fix exports in docs
  • Loading branch information
KetanReddy authored Oct 25, 2024
2 parents ebd3477 + 3d942e8 commit d00a40e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Install the plugin:
Add it to Player:

```js
import CommonExpressionsPlugin from "@player-ui/common-expressions-plugin";
import { CommonExpressionsPlugin } from '@player-ui/common-expressions-plugin';

const commonExpressionsPlugin = new CommonExpressionsPlugin();
const player = new Player({ plugins: [commonExpressionsPlugin] });
Expand Down
4 changes: 1 addition & 3 deletions docs/site/src/content/docs/plugins/core/common-types.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Install the plugin:
Add it to Player:

```js
import CommonTypesPlugin from "@player-ui/common-types-plugin";
import { CommonTypesPlugin } from '@player-ui/common-types-plugin';

const commonTypesPlugin = new CommonTypesPlugin();
const player = new Player({ plugins: [commonTypesPlugin] });
Expand Down Expand Up @@ -134,7 +134,6 @@ Options:
> Asserts that a value is not `null`, `undefined`, or an empty string
Options:

```ts
{
/** An expression to limit the assertion only if the expression evaluates to truthy **/
Expand Down Expand Up @@ -220,7 +219,6 @@ Options:
> Asserts that the value is one of the pre-defined accepted values
Options:

```ts
{
options?: Array;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Install the plugin:
Add it to Player:

```js
import CheckPathPlugin from "@player-ui/check-path-plugin";
import { CheckPathPlugin } from '@player-ui/check-path-plugin';

const checkPathPlugin = new CheckPathPlugin();
const player = new Player({ plugins: [checkPathPlugin] });
Expand Down

0 comments on commit d00a40e

Please sign in to comment.