Cleanup @ohif/ui ViewportGrid API
This commit is contained in:
1 parent
26450644ab
commit
f319092b84
2 files changed
+27
-44
No files matched your search
@@ -21,18 +21,14 @@ import { ViewportGrid } from '@ohif/ui';
|
||||
|
||||
<Playground>
|
||||
<div className="p-4 h-56">
|
||||
<ViewportGrid
|
||||
rows={1}
|
||||
cols={2}
|
||||
viewportContents={[
|
||||
<div className="flex items-center justify-center h-full text-white">
|
||||
Viewport1
|
||||
</div>,
|
||||
<div className="flex items-center justify-center h-full text-white">
|
||||
Viewport2
|
||||
</div>,
|
||||
]}
|
||||
/>
|
||||
<ViewportGrid numRows={1} numCols={2}>
|
||||
<div className="flex items-center justify-center h-full text-white">
|
||||
Viewport1
|
||||
</div>
|
||||
<div className="flex items-center justify-center h-full text-white">
|
||||
Viewport2
|
||||
</div>
|
||||
</ViewportGrid>
|
||||
</div>
|
||||
</Playground>
|
||||
|
||||
|
||||
Reference in new issue
Block a user