Merge pull request #47 from saleor/lkostrowski-patch-1

Update AppBridge readme
This commit is contained in:
Lukasz Ostrowski 2022-09-05 14:34:42 +02:00 committed by GitHub
commit e2d4f02c5b
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);
```
Options object is following:
```
type AppBridgeOptions = {
targetDomain?: string;
};
```
## Access app state:
```js