🐛 Bug Report
Warning: React does not recognize the maskType prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase masktype instead. If you accidentally passed it from a parent component, remove it from the DOM element.

I believe this change made this bug appear: #621
To Reproduce
I'm sorry but don't know how to demonstrate this bug as we speak. I have a React UI lib where I bundle with Rollup and use it in Create React App(CRA).
// EDIT: codesandbox.io/s/react-does-not-recognize-the-masktype-6r344
Using:
My UI Lib:
"rollup": "^2.60.2"
"@svgr/rollup": "^6.0.0"
// with the config
svgr({
ref: true,
titleProp: true,
svgo: false,
})
-----------------------
App (CRA):
"react": "^17.0.2"
"react-dom": "^17.0.2"
"react-scripts": "4.0.3"
"my-ui-lib": "x"
🐛 Bug Report
Warning: React does not recognize the
maskTypeprop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasemasktypeinstead. If you accidentally passed it from a parent component, remove it from the DOM element.I believe this change made this bug appear: #621
To Reproduce
I'm sorry but don't know how to demonstrate this bug as we speak. I have a React UI lib where I bundle with Rollup and use it in
Create React App(CRA).// EDIT: codesandbox.io/s/react-does-not-recognize-the-masktype-6r344
Using: