Skip to content

Commit

Permalink
Next/24.12.0 (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
CMazzilli authored Sep 17, 2024
2 parents 766506f + fdd76c4 commit f2f1b8c
Show file tree
Hide file tree
Showing 12 changed files with 18,982 additions and 1,223 deletions.
22 changes: 11 additions & 11 deletions docs/api/carbonio-ui-preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ Description
</th></tr></thead>
<tbody><tr><td>

[PreviewManager({ children })](./carbonio-ui-preview.previewmanager.md)


</td><td>

The manager for showing multiple previews. From within it, the PreviewsManagerContext give access to the functions to initialize and open the previews of different items.


</td></tr>
<tr><td>

[usePreview()](./carbonio-ui-preview.usepreview.md)


Expand Down Expand Up @@ -153,17 +164,6 @@ Main component for rendering the preview of an image
Main component for the preview of a pdf


</td></tr>
<tr><td>

[PreviewManager](./carbonio-ui-preview.previewmanager.md)


</td><td>

The manager for showing multiple previews. From within it, the PreviewsManagerContext give access to the functions to initialize and open the previews of different items.


</td></tr>
<tr><td>

Expand Down
44 changes: 42 additions & 2 deletions docs/api/carbonio-ui-preview.previewmanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,52 @@

[Home](./index.md) &gt; [@zextras/carbonio-ui-preview](./carbonio-ui-preview.md) &gt; [PreviewManager](./carbonio-ui-preview.previewmanager.md)

## PreviewManager variable
## PreviewManager() function

The manager for showing multiple previews. From within it, the PreviewsManagerContext give access to the functions to initialize and open the previews of different items.

**Signature:**

```typescript
PreviewManager: React.FC
PreviewManager: ({ children }: {
children: React.ReactNode;
}) => React.JSX.Element
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

{ children }


</td><td>

{ children: React.ReactNode; }


</td><td>


</td></tr>
</tbody></table>
**Returns:**

React.JSX.Element

4 changes: 3 additions & 1 deletion etc/carbonio-ui-preview.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ export type PreviewItem = ((MakeOptional<Omit<ImagePreviewProps, 'show'>, 'onClo
};

// @public
export const PreviewManager: React_2.FC;
export const PreviewManager: ({ children }: {
children: React_2.ReactNode;
}) => React_2.JSX.Element;

// @public (undocumented)
export interface PreviewManagerContextType {
Expand Down
Loading

0 comments on commit f2f1b8c

Please sign in to comment.