You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** @beta Prevents the wizard from automatically applying plain styling when glass theme is enabled. */
64
+
/** @beta Prevents the wizard from automatically applying plain styling when glass theme is enabled. When both this and isPlain are true, isPlain takes precedence. */
65
65
isNoPlainOnGlass?: boolean;
66
66
}
67
67
@@ -85,6 +85,13 @@ export const Wizard = ({
85
85
isNoPlainOnGlass =false,
86
86
...wrapperProps
87
87
}: WizardProps)=>{
88
+
if(isPlain&&isNoPlainOnGlass){
89
+
// eslint-disable-next-line no-console
90
+
console.warn(
91
+
`Wizard: When both isPlain and isNoPlainOnGlass are true, isPlain will take precedence and isNoPlainOnGlass will have no effect. It's recommended to pass only one prop according to the current theme.`
`Wizard: When both isPlain and isNoPlainOnGlass are true, isPlain will take precedence and isNoPlainOnGlass will have no effect. It's recommended to pass only one prop according to the current theme.`
0 commit comments