Add useBuiltIns option to helper-builder-react-jsx (#4655)
This commit is contained in:
committed by
Daniel Tschinder
parent
15183078e6
commit
fde16f10fa
@@ -0,0 +1 @@
|
||||
var div = <Component {...props} foo="bar" />
|
||||
@@ -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)"
|
||||
}
|
||||
Reference in New Issue
Block a user