@@ -223,7 +223,7 @@ exports[`rendering renders correctly with all props except loading icon 1`] = `
223223 <div
224224 className = " item"
225225 >
226- <WithProviderContextComponent
226+ <ForwardRef(withForwardedRef( WithProviderContextComponent))
227227 clickHandler={ [Function ]}
228228 forwardedRef={
229229 Object {
@@ -238,13 +238,9 @@ exports[`rendering renders correctly with all props except loading icon 1`] = `
238238 }
239239 type="button"
240240 >
241- <ForwardRef(withForwardedRef(Button))
241+ <WithProviderContextComponent
242242 clickHandler = { [Function ]}
243- forwardedRef={
244- Object {
245- " current" : null ,
246- }
247- }
243+ forwardedRef = { null }
248244 label = " Action"
249245 loadingIcon = {
250246 <span
@@ -302,8 +298,8 @@ exports[`rendering renders correctly with all props except loading icon 1`] = `
302298 </span >
303299 </button >
304300 </Button >
305- </ForwardRef(withForwardedRef(Button)) >
306- </WithProviderContextComponent >
301+ </WithProviderContextComponent >
302+ </ForwardRef(withForwardedRef( WithProviderContextComponent)) >
307303 </div >
308304 </ToolbarItem >
309305 </WithProviderContextComponent >
@@ -312,14 +308,15 @@ exports[`rendering renders correctly with all props except loading icon 1`] = `
312308 <div
313309 className = " item"
314310 >
315- <WithProviderContextComponent
311+ <ForwardRef(withForwardedRef( WithProviderContextComponent))
316312 clickHandler={ [Function ]}
317313 id="custom-id__closeModalFooterButton"
318314 label="Close"
319315 priority="flat"
320316 >
321- <ForwardRef(withForwardedRef(Button))
317+ <WithProviderContextComponent
322318 clickHandler = { [Function ]}
319+ forwardedRef = { null }
323320 id = " custom-id__closeModalFooterButton"
324321 label = " Close"
325322 priority = " flat"
@@ -361,8 +358,8 @@ exports[`rendering renders correctly with all props except loading icon 1`] = `
361358 </span >
362359 </button >
363360 </Button >
364- </ForwardRef(withForwardedRef(Button)) >
365- </WithProviderContextComponent >
361+ </WithProviderContextComponent >
362+ </ForwardRef(withForwardedRef( WithProviderContextComponent)) >
366363 </div >
367364 </ToolbarItem >
368365 </WithProviderContextComponent >
@@ -893,13 +890,14 @@ exports[`rendering renders correctly with translations 1`] = `
893890 <div
894891 className = " item"
895892 >
896- <WithProviderContextComponent
893+ <ForwardRef(withForwardedRef( WithProviderContextComponent))
897894 clickHandler={ [Function ]}
898895 label="Zavřít"
899896 priority="flat"
900897 >
901- <ForwardRef(withForwardedRef(Button))
898+ <WithProviderContextComponent
902899 clickHandler = { [Function ]}
900+ forwardedRef = { null }
903901 label = " Zavřít"
904902 priority = " flat"
905903 >
@@ -937,8 +935,8 @@ exports[`rendering renders correctly with translations 1`] = `
937935 </span >
938936 </button >
939937 </Button >
940- </ForwardRef(withForwardedRef(Button)) >
941- </WithProviderContextComponent >
938+ </WithProviderContextComponent >
939+ </ForwardRef(withForwardedRef( WithProviderContextComponent)) >
942940 </div >
943941 </ToolbarItem >
944942 </WithProviderContextComponent >
0 commit comments