Closed walsha2 closed 3 months ago
Description
The following is an entirely valid rect component per HTML spec:
rect
<rect width="100" height="100" />
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect
However, the jaspr prebuilt rect component requires x and y to be defined as non-nullable strings. Not sure why these need to be required?
jaspr
x
y
Proposal
These should be nullable, optional, string inputs - just like width and height
width
height
True, don't know how that slipped in
Fixed in master, will release with the other stuff
Description
The following is an entirely valid
rect
component per HTML spec:https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect
However, the
jaspr
prebuiltrect
component requiresx
andy
to be defined as non-nullable strings. Not sure why these need to be required?Proposal
These should be nullable, optional, string inputs - just like
width
andheight