Code component is getting different props in Studio vs outside

I’m creating a code component to wrap a studio component inside it, using some code to override props. But it is not accepting all props and also seem to be returning without any defaults. Just created a code component that returns a Plasmic component like that:

      <PlasmicComponent
        forceOriginal
        component="studioComponent"
        componentProps={{...

Any ideas?

Hi @spiritual_mosquito! What do you mean by “not accepting all props”? Some are working but other aren’t? Can you share your project and your code?

@tiago, thanks for getting back. We ended up going another route for that solution. But yes, that was exactly what the problem was. The props work fine when we substitute a component, but wasn’t the same when that same component was passed the same props and returned in a code component.