Skip to content

Add the SVG x and y attributes #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

paulyoung
Copy link
Contributor

This relates to #112. It adds the SVG x and y attributes.

I wasn't sure if I should create a React.DOM.SVG.Props module instead.

@ethul
Copy link
Contributor

ethul commented Aug 29, 2017

Looks good! Thanks for the addition. Regarding having a separate module for SVG props, my opinion is that it is okay all in one module unless we run into a case were we have an attribute with the same name as another attribute, but with a different type. @paf31 do you have a preference on this?

@paf31
Copy link
Contributor

paf31 commented Aug 29, 2017

Yeah that seems fine to me. It'd be nicer to use rows really, but we're not going to be able to do that easily.

@ethul
Copy link
Contributor

ethul commented Aug 29, 2017

Sounds good. Thanks @paf31

@ethul ethul merged commit 38d14a2 into purescript-contrib:master Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants