Skip to content

Commit

Permalink
Update docs/site/src/content/docs/plugins/multiplatform/shared-consta…
Browse files Browse the repository at this point in the history
…nts.mdx

Co-authored-by: Ketan Reddy <[email protected]>
  • Loading branch information
A1shK and KetanReddy authored Feb 3, 2025
1 parent b7656ed commit 070c014
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ constantsPlugin.getConstants("prop1"); // 'A'

### Overriding Values in Content

The `dataPath` configuration option allows content to override specific values for a particular flow:
By default, data can be provided in the `constants` path of the `data` object to override the constants that the plugin was initialized with. This can be overridden though via the `dataPath` configuration option. In the above example, `dataPath` was initialized with the path `data.props` therefore the following code snippet could be used to override the `prop1` constant:

```json
{
Expand Down

0 comments on commit 070c014

Please sign in to comment.