diff --git a/pages/docs/viewer.mdx b/pages/docs/viewer.mdx index 94e55d9ff..0f0ae1126 100644 --- a/pages/docs/viewer.mdx +++ b/pages/docs/viewer.mdx @@ -142,27 +142,28 @@ const MyCustomViewer = () => { `Viewer` can configured through an `options` prop, which will serve as a object for common options. -| Prop | Type | Required | Default | -| ------------------------------- | --------------------------------------------------------------------------- | -------- | ---------------------------------------- | -| `iiifContent` | `string` | Yes | | -| `iiifContentSearchQuery` | [See Content Search](#content-search) | No | | -| `canvasIdCallback` | `function` | No | | -| `customDisplays` | [See Custom Displays](#custom-displays) | No | | -| `customTheme` | `object` | No | | -| `plugins` | [See Plugins](#plugins) | No | | -| `options` | `object` | No | | -| `options.background` | `string` [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS/background) | No | `transparent` | -| `options.canvasBackgroundColor` | `string` [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS/background) | No | `#1a1d1e` | -| `options.canvasHeight` | `string` [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS/height) | No | `500px` | -| `options.ignoreCaptionLabels` | `string[]` | No | [] | -| `options.openSeadragon` | `OpenSeadragon.Options` | No | | -| `options.informationPanel` | [See Information Panel](#information-panel) | No | | -| `options.requestHeaders` | `IncomingHttpHeaders` | No | `{ "Content-Type": "application/json" }` | -| `options.showDownload` | `boolean` | No | true | -| `options.showIIIFBadge` | `boolean` | No | true | -| `options.showTitle` | `boolean` | No | true | -| `options.withCredentials` | `boolean` | No | false | -| `options.contentSearch` | [See Content Search](#content-search) | No | | +| Prop | Type | Required | Default | +| -------------------------------- | --------------------------------------------------------------------------- | -------- | ---------------------------------------- | +| `iiifContent` | `string` | Yes | | +| `iiifContentSearchQuery` | [See Content Search](#content-search) | No | | +| `canvasIdCallback` | `function` | No | | +| `customDisplays` | [See Custom Displays](#custom-displays) | No | | +| `customTheme` | `object` | No | | +| `plugins` | [See Plugins](#plugins) | No | | +| `options` | `object` | No | | +| `options.background` | `string` [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS/background) | No | `transparent` | +| `options.canvasBackgroundColor` | `string` [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS/background) | No | `#1a1d1e` | +| `options.canvasHeight` | `string` [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS/height) | No | `500px` | +| `options.ignoreCaptionLabels` | `string[]` | No | [] | +| `options.openSeadragon` | `OpenSeadragon.Options` | No | | +| `options.informationPanel` | [See Information Panel](#information-panel) | No | | +| `options.requestHeaders` | `IncomingHttpHeaders` | No | `{ "Content-Type": "application/json" }` | +| `options.showDownload` | `boolean` | No | true | +| `options.showIIIFBadge` | `boolean` | No | true | +| `options.showTitle` | `boolean` | No | true | +| `options.customLoadingComponent` | `React.ComponentType` | No | | +| `options.withCredentials` | `boolean` | No | false | +| `options.contentSearch` | [See Content Search](#content-search) | No | | - Options `canvasBackgroundColor` and `canvasHeight` will apply to both `