You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -69,6 +70,7 @@ The React PDF Viewer can be embedded into dashboards, admin panels, split‑scre
69
70
);
70
71
}
71
72
```
73
+

72
74
73
75
CSS Grid - reserve rows/columns using `grid-template-rows` or `grid-template-columns`:
74
76
@@ -150,6 +152,7 @@ The React PDF Viewer can be embedded into dashboards, admin panels, split‑scre
150
152
}
151
153
};
152
154
```
155
+

153
156
154
157
-**Use viewer inside Tab components**
155
158
- The react PDF Viewer are also supported inside Syncfusion tab components.
@@ -187,7 +190,7 @@ The React PDF Viewer can be embedded into dashboards, admin panels, split‑scre
187
190
return (
188
191
<div className="page">
189
192
<header className="header">
190
-
<h3 style={{ margin: 0 }}>Tab + PDF Viewer</h3>
193
+
<h3 style={{ margin: 0 }}>PDF Viewer in tab</h3>
191
194
</header>
192
195
193
196
<div className="tab-host">
@@ -222,6 +225,7 @@ The React PDF Viewer can be embedded into dashboards, admin panels, split‑scre
222
225
);
223
226
};
224
227
```
228
+

225
229
226
230
-**Use viewer inside Dialog**
227
231
- If the viewer sits inside a dialog, for example Syncfusion Dialog, render or initialize the viewer after the dialog open events. The DOM must be visible for the viewer to measure layout.
@@ -292,6 +296,7 @@ The React PDF Viewer can be embedded into dashboards, admin panels, split‑scre
292
296
);
293
297
};
294
298
```
299
+

295
300
296
301
-**Use viewer inside Collapsible sections**
297
302
- For accordions or collapsible containers, either render the viewer lazily when the section expands or dispatch the resize event after expansion so the viewer can recompute layout.
@@ -394,6 +399,7 @@ The React PDF Viewer can be embedded into dashboards, admin panels, split‑scre
394
399
border-bottom: 1px solid #e5e5e5;
395
400
}
396
401
```
402
+

0 commit comments