ohif-viewer/platform/ui/src/views/Viewer/Viewer.mdx

49 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-04-06 22:39:49 +02:00
---
name: Viewer
menu: Views
2020-04-08 18:13:42 +02:00
route: examples/viewer
2020-04-06 22:39:49 +02:00
---
import { Playground, Props } from 'docz';
2020-04-10 01:31:21 +02:00
import { NavBar, SidePanel, Svg, MeasurementTable } from '@ohif/ui';
2020-04-06 22:39:49 +02:00
# Viewer
<Playground>
2020-04-07 21:47:20 +02:00
<div>
<NavBar className="justify-start">
<div className="m-3">
<Svg name="logo-ohif" />
</div>
</NavBar>
<div
className="flex flex-row flex-no-wrap flex-1 items-stretch overflow-hidden w-full"
style={{ height: 'calc(100vh - 57px' }}
>
<SidePanel
side="left"
2020-04-08 18:00:07 +02:00
iconName="group-layers"
2020-04-07 21:47:20 +02:00
iconLabel="Studies"
componentLabel="Studies"
defaultIsOpen={false}
>
2020-04-07 22:16:11 +02:00
<div className="flex justify-center text-white p-2">
panel placeholder
</div>
2020-04-07 21:47:20 +02:00
</SidePanel>
2020-04-09 00:31:33 +02:00
<div className="flex flex-1 h-100 overflow-hidden bg-primary-main items-center justify-center text-white">
2020-04-07 21:47:20 +02:00
CONTENT
</div>
<SidePanel
side="right"
2020-04-07 22:04:46 +02:00
iconName="list-bullets"
2020-04-07 21:47:20 +02:00
iconLabel="Measure"
componentLabel="Measurements"
2020-04-10 01:31:21 +02:00
defaultIsOpen={true}
2020-04-07 21:47:20 +02:00
>
2020-04-10 01:31:21 +02:00
<MeasurementTable />
2020-04-07 21:47:20 +02:00
</SidePanel>
</div>
</div>
2020-04-06 22:39:49 +02:00
</Playground>