karolis-sh / gatsby-mdx

Utilities to work with MDX and netlify-cms in Gatsby sites
MIT License
60 stars 8 forks source link

Props spreading + props #57

Closed karolis-sh closed 5 years ago

karolis-sh commented 5 years ago

<div className="test" {...{children: 'test'}} />

Results in:

CompileError: Mixed JSX attributes ending in spread requires specified objectAssign option with 'Object.assign' or polyfill helper.