alex-kinokon / jsx-dom

Use JSX to create DOM elements.
BSD 3-Clause "New" or "Revised" License
277 stars 30 forks source link

<line> x1 prop becomes `x-1` #80

Closed rob-myers closed 2 years ago

rob-myers commented 2 years ago

Currently the JSX:

<line x1={0} y1={0} x2={20} y2={20} />

yields the DOM element:

<line x-1="0" y1="0" x-2="20" y2="20"></line>

In particular, the attribute x-1 should actually be x1.

alex-kinokon commented 2 years ago

Published as 8.0.1-beta.9.