bluewings / pug-as-jsx-loader

MIT License
188 stars 15 forks source link

Using multiple jsx statements in a single element #7

Closed bluewings closed 6 years ago

bluewings commented 6 years ago

Input

div
  WrappedComponent(id='wrap', __jsx='{...props}', __jsx='{...otherProps}')

Output

<div>
  <WrappedComponent id="wrap" {...props} {...otherProps} />
</div>