From 50d0144e78e78d804705852b8c220b0da0c01dd3 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Thu, 14 May 2020 22:11:00 -0400 Subject: [PATCH] update docz examples to match new component api --- .../ui/src/components/ViewportPane/ViewportPane.mdx | 6 +++--- platform/ui/src/views/StudyList/StudyList.mdx | 10 +--------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/platform/ui/src/components/ViewportPane/ViewportPane.mdx b/platform/ui/src/components/ViewportPane/ViewportPane.mdx index be301cfec..e83e75683 100644 --- a/platform/ui/src/components/ViewportPane/ViewportPane.mdx +++ b/platform/ui/src/components/ViewportPane/ViewportPane.mdx @@ -5,7 +5,7 @@ route: components/viewport-pane --- import { Playground, Props } from 'docz'; -import { DragAndDropContext, ViewportGrid, ViewportPane } from '@ohif/ui'; +import { DragAndDropProvider, ViewportGrid, ViewportPane } from '@ohif/ui'; # ViewportPane @@ -21,12 +21,12 @@ import { ViewportPane } from '@ohif/ui';
- + {}} isActive={true}>

Hello

{}} isActive={false}>

World

-
+
diff --git a/platform/ui/src/views/StudyList/StudyList.mdx b/platform/ui/src/views/StudyList/StudyList.mdx index 50b5a4ff7..642705469 100644 --- a/platform/ui/src/views/StudyList/StudyList.mdx +++ b/platform/ui/src/views/StudyList/StudyList.mdx @@ -147,15 +147,7 @@ components. row: [ { key: 'patientName', - content: ( - <> - - {PatientName} - - ), + content: PatientName, gridCol: 4, }, {