Skip to content

React does not recognize the maskType prop on a DOM element #22850

@zprjk

Description

@zprjk

React version: 17

Steps To Reproduce

  1. Create a Inline SVG with a mask
  2. Use maskType as a svg attribute in the said mask
  3. Check React warning in console.

Link to code example:

https://codesandbox.io/s/react-does-not-recognize-the-masktype-6r344

Related discussion: gregberge/svgr#643
https://www.w3.org/TR/css-masking-1/#propdef-mask-type

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions