Add useBuiltIns option to helper-builder-react-jsx (#4655)

This commit is contained in:
Brian Ng
2016-10-14 14:18:39 -05:00
committed by Daniel Tschinder
parent 15183078e6
commit fde16f10fa
6 changed files with 21 additions and 5 deletions

View File

@@ -0,0 +1 @@
var div = <Component {...props} foo="bar" />

View File

@@ -0,0 +1,4 @@
{
"plugins": [["transform-react-jsx", { "useBuiltIns": "invalidOption" }]],
"throws": "transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)"
}