Update app-bridge.md
This commit is contained in:
parent
3651797c10
commit
cac668adb2
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);
|
||||
```
|
||||
|
||||
Options object is following:
|
||||
|
||||
```
|
||||
type AppBridgeOptions = {
|
||||
targetDomain?: string;
|
||||
};
|
||||
```
|
||||
|
||||
## Access app state:
|
||||
|
||||
```js
|
||||
|
|
Loading…
Reference in a new issue