@@ -5,6 +5,9 @@ import React from "react"
55import { storiesOf } from "@storybook/react"
66import { action } from "@storybook/addon-actions"
77import orange from "./orange.story.png"
8+ import hard1 from "./hard1.story.jpg"
9+ import hard2 from "./hard2.story.jpg"
10+ import hard3 from "./hard3.story.jpg"
811
912import FullImageSegmentationAnnotator from "./"
1013
@@ -72,3 +75,45 @@ storiesOf("FullImageSegmentationAnnotator", module)
7275 />
7376 </ div >
7477 ) )
78+ . add ( "Hard 1, 8 Class" , ( ) => (
79+ < div style = { { width : "100vw" , height : "100vh" } } >
80+ < FullImageSegmentationAnnotator
81+ images = { [
82+ {
83+ name : "Hard" ,
84+ src : hard1 ,
85+ } ,
86+ ] }
87+ regionClsList = { [ "1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" ] }
88+ onExit = { action ( "onExit" ) }
89+ />
90+ </ div >
91+ ) )
92+ . add ( "Hard 2, 8 Class" , ( ) => (
93+ < div style = { { width : "100vw" , height : "100vh" } } >
94+ < FullImageSegmentationAnnotator
95+ images = { [
96+ {
97+ name : "Really Hard" ,
98+ src : hard2 ,
99+ } ,
100+ ] }
101+ regionClsList = { [ "1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" ] }
102+ onExit = { action ( "onExit" ) }
103+ />
104+ </ div >
105+ ) )
106+ . add ( "Hard 3, 8 Class" , ( ) => (
107+ < div style = { { width : "100vw" , height : "100vh" } } >
108+ < FullImageSegmentationAnnotator
109+ images = { [
110+ {
111+ name : "Extremely Hard" ,
112+ src : hard3 ,
113+ } ,
114+ ] }
115+ regionClsList = { [ "1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" ] }
116+ onExit = { action ( "onExit" ) }
117+ />
118+ </ div >
119+ ) )
0 commit comments