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 = ({
4040 hasNoBodyPadding,
4141 navAriaLabel,
4242 StepTemplate,
43+ className,
4344 ...rest
4445} ) => {
4546 const {
@@ -86,7 +87,7 @@ const WizardInternal = ({
8687 return (
8788 < Modal inModal = { inModal } container = { state . container } >
8889 < 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 : '' } ` }
9091 role = "dialog"
9192 aria-modal = { inModal ? 'true' : undefined }
9293 onKeyDown = { onKeyDown }
@@ -165,7 +166,8 @@ WizardInternal.propTypes = {
165166 hasNoBodyPadding : PropTypes . bool ,
166167 navAriaLabel : PropTypes . string ,
167168 container : PropTypes . instanceOf ( Element ) ,
168- StepTemplate : PropTypes . elementType
169+ StepTemplate : PropTypes . elementType ,
170+ className : PropTypes . string
169171} ;
170172
171173const defaultLabels = {
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ exports[`<Wizard /> should render correctly and unmount 1`] = `
458458 >
459459 <Modal >
460460 <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 "
462462 name = " wizard"
463463 onKeyDown = { [Function ]}
464464 role = " dialog"
@@ -1666,7 +1666,7 @@ exports[`<Wizard /> should render correctly in modal and unmount 1`] = `
16661666 >
16671667 <div
16681668 aria-modal = " true"
1669- class = " pf-c-wizard ddorg__pf4-component-mapper__wizard"
1669+ class = " pf-c-wizard ddorg__pf4-component-mapper__wizard "
16701670 name = " wizard"
16711671 role = " dialog"
16721672 >
@@ -1835,7 +1835,7 @@ exports[`<Wizard /> should render correctly in modal and unmount 1`] = `
18351835 >
18361836 <div
18371837 aria-modal = " true"
1838- class = " pf-c-wizard ddorg__pf4-component-mapper__wizard"
1838+ class = " pf-c-wizard ddorg__pf4-component-mapper__wizard "
18391839 name = " wizard"
18401840 role = " dialog"
18411841 >
@@ -2002,7 +2002,7 @@ exports[`<Wizard /> should render correctly in modal and unmount 1`] = `
20022002 >
20032003 <div
20042004 aria-modal = " true"
2005- className = " pf-c-wizard ddorg__pf4-component-mapper__wizard"
2005+ className = " pf-c-wizard ddorg__pf4-component-mapper__wizard "
20062006 name = " wizard"
20072007 onKeyDown = { [Function ]}
20082008 role = " dialog"
You can’t perform that action at this time.
0 commit comments