File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
components/visualizations/IIIF Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ import miradorAnnotationPlugin from "mirador-annotations";
66import LocalStorageAdapter from "mirador-annotations/lib/LocalStorageAdapter" ;
77import { VisualizationConfigOut } from "../../../openapi/v2" ;
88
9- type WSIProps = {
9+ type IIIFProps = {
1010 visConfigEntry ?: VisualizationConfigOut ;
1111} ;
1212
13- export default function WSI ( props : WSIProps ) {
13+ export default function IIIF ( props : IIIFProps ) {
1414 const { visConfigEntry } = props ;
1515
1616 useEffect ( ( ) => {
Original file line number Diff line number Diff line change 11{
2- "name" : " wsi -visualization" ,
2+ "name" : " iiif -visualization" ,
33 "version" : " 1.0.0" ,
4- "description" : " A React component for visualizing and annotating Whole Slide Images (WSIs) " ,
5- "main" : " WSI .tsx" ,
4+ "description" : " A React component for visualizing and annotating images rendered using the IIIF standard. " ,
5+ "main" : " IIIF .tsx" ,
66 "dependencies" : {
77 "clowder2-core" : " 1.0.0" ,
88 "react" : " ^17.0.2" ,
99 "react-dom" : " ^17.0.2" ,
1010 "mirador" : " ^3.4.3"
1111 },
1212 "visConfig" : {
13- "name" : " WSI " ,
13+ "name" : " IIIF " ,
1414 "mainType" : " image" ,
15- "mimeTypes" : [" application/octet-stream " ],
15+ "mimeTypes" : [" image/x-iiif " ],
1616 "fields" : []
1717 }
1818}
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ visComponentDefinitions.push({
5252 component : React . createElement ( registerComponent ( configImage ) ) ,
5353} ) ;
5454
55- const configWholeSlideImage = require ( "./components/visualizations/WSI /manifest.json" ) ;
55+ const configWholeSlideImage = require ( "./components/visualizations/IIIF /manifest.json" ) ;
5656visComponentDefinitions . push ( {
5757 name : configWholeSlideImage . name ,
5858 mainType : configWholeSlideImage . visConfig . mainType ,
You can’t perform that action at this time.
0 commit comments