File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
packages/pf4-component-mapper/src
tests/wizard/__snapshots__ Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ const WizardInternal = ({
40
40
hasNoBodyPadding,
41
41
navAriaLabel,
42
42
StepTemplate,
43
+ className,
43
44
...rest
44
45
} ) => {
45
46
const {
@@ -86,7 +87,7 @@ const WizardInternal = ({
86
87
return (
87
88
< Modal inModal = { inModal } container = { state . container } >
88
89
< div
89
- className = { `pf-c-wizard ${ inModal ? '' : 'no-shadow' } ddorg__pf4-component-mapper__wizard` }
90
+ className = { `pf-c-wizard ${ inModal ? '' : 'no-shadow' } ddorg__pf4-component-mapper__wizard ${ className ? className : '' } ` }
90
91
role = "dialog"
91
92
aria-modal = { inModal ? 'true' : undefined }
92
93
onKeyDown = { onKeyDown }
@@ -165,7 +166,8 @@ WizardInternal.propTypes = {
165
166
hasNoBodyPadding : PropTypes . bool ,
166
167
navAriaLabel : PropTypes . string ,
167
168
container : PropTypes . instanceOf ( Element ) ,
168
- StepTemplate : PropTypes . elementType
169
+ StepTemplate : PropTypes . elementType ,
170
+ className : PropTypes . string
169
171
} ;
170
172
171
173
const defaultLabels = {
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ exports[`<Wizard /> should render correctly and unmount 1`] = `
458
458
>
459
459
<Modal >
460
460
<div
461
- className = " pf-c-wizard no-shadow ddorg__pf4-component-mapper__wizard"
461
+ className = " pf-c-wizard no-shadow ddorg__pf4-component-mapper__wizard "
462
462
name = " wizard"
463
463
onKeyDown = { [Function ]}
464
464
role = " dialog"
@@ -1666,7 +1666,7 @@ exports[`<Wizard /> should render correctly in modal and unmount 1`] = `
1666
1666
>
1667
1667
<div
1668
1668
aria-modal = " true"
1669
- class = " pf-c-wizard ddorg__pf4-component-mapper__wizard"
1669
+ class = " pf-c-wizard ddorg__pf4-component-mapper__wizard "
1670
1670
name = " wizard"
1671
1671
role = " dialog"
1672
1672
>
@@ -1835,7 +1835,7 @@ exports[`<Wizard /> should render correctly in modal and unmount 1`] = `
1835
1835
>
1836
1836
<div
1837
1837
aria-modal = " true"
1838
- class = " pf-c-wizard ddorg__pf4-component-mapper__wizard"
1838
+ class = " pf-c-wizard ddorg__pf4-component-mapper__wizard "
1839
1839
name = " wizard"
1840
1840
role = " dialog"
1841
1841
>
@@ -2002,7 +2002,7 @@ exports[`<Wizard /> should render correctly in modal and unmount 1`] = `
2002
2002
>
2003
2003
<div
2004
2004
aria-modal = " true"
2005
- className = " pf-c-wizard ddorg__pf4-component-mapper__wizard"
2005
+ className = " pf-c-wizard ddorg__pf4-component-mapper__wizard "
2006
2006
name = " wizard"
2007
2007
onKeyDown = { [Function ]}
2008
2008
role = " dialog"
You can’t perform that action at this time.
0 commit comments