Initial changes for SidePanel
This commit is contained in:
1 parent
c902ba201f
commit
8be7854118
9 files changed
+146
-5
No files matched your search
@@ -0,0 +1,40 @@
|
||||
import React from 'react';
|
||||
import { NavBar, SidePanel, Svg } from '@ohif/ui';
|
||||
|
||||
const Viewer = () => {
|
||||
return (
|
||||
<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"
|
||||
className="h-100 bg-primary-light border-r-1 border-black"
|
||||
iconName="launch-arrow"
|
||||
componentName="Study List"
|
||||
>
|
||||
<div>GUSTAVO</div>
|
||||
</SidePanel>
|
||||
<div className="flex-1 h-100 overflow-hidden w-100 bg-black">
|
||||
CONTENT
|
||||
</div>
|
||||
<SidePanel
|
||||
side="right"
|
||||
className="h-100 bg-primary-light border-l-1 border-black"
|
||||
iconName="launch-arrow"
|
||||
componentName="Measurements"
|
||||
>
|
||||
<div>GUSTAVO DO OUTRO LADO</div>
|
||||
</SidePanel>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Viewer;
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
name: Viewer
|
||||
menu: Views
|
||||
route: views/viewer
|
||||
---
|
||||
|
||||
import { Playground, Props } from 'docz';
|
||||
import { Viewer } from '@ohif/ui';
|
||||
|
||||
# Viewer
|
||||
|
||||
<Playground>
|
||||
<Viewer />
|
||||
</Playground>
|
||||
@@ -0,0 +1,2 @@
|
||||
import Viewer from './Viewer';
|
||||
export default Viewer;
|
||||
@@ -1,3 +1,4 @@
|
||||
import StudyList from './StudyList';
|
||||
import Viewer from './Viewer';
|
||||
|
||||
export { StudyList };
|
||||
export { StudyList, Viewer };
|
||||
Reference in new issue
Block a user