Skip to content

Commit

Permalink
fix: add width to plugin documentation [LIBS-487]
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzemp committed Aug 22, 2023
1 parent 6664199 commit b2c6273
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/components/Plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const MyPlugin = (propsFromParent) => {
| **onError** | _Function_ | _optional_ | Callback function to be called when an error in the plugin triggers an error boundary. You can use this to pass an error back up to the app and create a custom handling/UX if errors occur in the plugin. In general, it is recommended that you use the plugin's built-in error boundaries |
| **showAlertsInPlugin** | _boolean_ | _optional_ | If `true`, any alerts within the plugin (defined with the `useAlert` hook) will be rendered within the iframe. By default, this is `false`. It is recommended, in general, that you do not override this and allow alerts to be hoisted up to the app level |
| **height** | _number_ | _optional_ | If a height is provided, the iframe will be fixed to the specified height. If no height is provided, the iframe will automatically resize based on its contents. |
| **width** | _number_ | _optional_ | If a width is provided, the iframe will be fixed to the specified width. If no width is provided, the iframe will automatically resize based on its contents. |

## Plugin Props (custom props)

Expand Down

0 comments on commit b2c6273

Please sign in to comment.