Skip to content

Commit

Permalink
Tweak upload article
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Apr 4, 2024
1 parent 170157e commit f51e2f7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/upload.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Upload data extension

To enable upload data feature:
To enable upload data feature with default settings:

```js
import { App, Widget, upload, navButtons } from '@discoveryjs/discovery';

// App
const myapp = new App({ upload: true }); // or the same as for Widget
const myapp = new App({ upload: true }); // or the same as for Widget via "extensions" option

// Widget
const myapp = new Widget({
Expand Down Expand Up @@ -50,12 +50,11 @@ Actions can be used via `#.actions`:

To specify custom settings:


```js
import { App, Widget, upload, navButtons } from '@discoveryjs/discovery';

// App
const myapp = new App({ upload: { /* options */ } }); // or the same as for Widget
const myapp = new App({ upload: { /* options */ } }); // or the same as for Widget via "extensions" option

// Widget
const myapp = new Widget({
Expand Down

0 comments on commit f51e2f7

Please sign in to comment.