Skip to content

Instantly share code, notes, and snippets.

@karlmikko
Last active September 30, 2016 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karlmikko/01910cef725f6389dc44 to your computer and use it in GitHub Desktop.
Save karlmikko/01910cef725f6389dc44 to your computer and use it in GitHub Desktop.
Add attributes to React
var HTMLDOMPropertyConfig = require('react/lib/HTMLDOMPropertyConfig');
HTMLDOMPropertyConfig.Properties['align'] = null;
HTMLDOMPropertyConfig.Properties['valign'] = null;
//do this prior first "require" of react
@jehna
Copy link

jehna commented Sep 30, 2016

👍 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment