Js() function not support spread operator?

Hello @bashor (or anyone who can help) , how about destructuring props into a component in React? How would you go about that in kotlin?

For example in react, we pass all the props into a component using the spread operator. As in:

<Component {... props} />

Tried using the js() function for this too, but compilation error.

1 Like