Merge pull request #47 from saleor/lkostrowski-patch-1
Update AppBridge readme
This commit is contained in:
commit
e2d4f02c5b
1 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,14 @@ import { AppBridge } from "@saleor/app-sdk/app-bridge";
|
||||||
const appBridge = new AppBridge(options);
|
const appBridge = new AppBridge(options);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Options object is following:
|
||||||
|
|
||||||
|
```
|
||||||
|
type AppBridgeOptions = {
|
||||||
|
targetDomain?: string;
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
## Access app state:
|
## Access app state:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|
Loading…
Reference in a new issue