Update app-bridge.md

This commit is contained in:
Lukasz Ostrowski 2022-09-05 14:03:45 +02:00 committed by GitHub
parent 3651797c10
commit cac668adb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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