Skip to content

Commit 843d69f

Browse files
authored
[react-dom] Support maskType SVG prop (facebook#35921)
Co-authored-by: Dmitrii Troitskii <jsleitor@gmail.com>
1 parent b4a8d29 commit 843d69f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/react-dom-bindings/src/shared/getAttributeAlias.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const aliases = new Map([
5050
['markerEnd', 'marker-end'],
5151
['markerMid', 'marker-mid'],
5252
['markerStart', 'marker-start'],
53+
['maskType', 'mask-type'],
5354
['overlinePosition', 'overline-position'],
5455
['overlineThickness', 'overline-thickness'],
5556
['paintOrder', 'paint-order'],

packages/react-dom-bindings/src/shared/possibleStandardNames.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ const possibleStandardNames = {
314314
markerwidth: 'markerWidth',
315315
mask: 'mask',
316316
maskcontentunits: 'maskContentUnits',
317+
masktype: 'maskType',
317318
maskunits: 'maskUnits',
318319
mathematical: 'mathematical',
319320
mode: 'mode',

0 commit comments

Comments
 (0)