File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
packages/react/src/components/Toggletip Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -155,34 +155,3 @@ Default.story = {
155155 ) ,
156156 ] ,
157157} ;
158-
159- // I need to remove this
160- export const OutsideClickTest = ( ) => {
161- const [ open , setOpen ] = React . useState ( false ) ;
162-
163- return (
164- < div style = { { padding : '2rem' } } >
165- < Button onClick = { ( ) => setOpen ( true ) } > Launch modal</ Button >
166-
167- < Modal
168- open = { open }
169- onRequestClose = { ( ) => setOpen ( false ) }
170- modalHeading = "Test Modal"
171- primaryButtonText = "Close" >
172- < p >
173- Click the < strong > i</ strong > icon to open the Toggletip, then click
174- anywhere in this modal body. The Toggletip should close.
175- </ p >
176-
177- < Toggletip align = "bottom" >
178- < ToggletipButton label = "Show information" >
179- < Information />
180- </ ToggletipButton >
181- < ToggletipContent >
182- < p > Toggletip content</ p >
183- </ ToggletipContent >
184- </ Toggletip >
185- </ Modal >
186- </ div >
187- ) ;
188- } ;
You can’t perform that action at this time.
0 commit comments