Hi Guys,
Receiving an unexpected error while rendering a code component.
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of `PlasmicTest`.
I have tested the following scenarios.
- Manually rendering the same composition of Code Components works fine.
<TableContext columns={columns} data={data}>
<div>
<TableFilter columnAccessor="col1" filterDataKey="label">
<TextInput />
</TableFilter>
</div>
<Table>
<TableHead>
<TableHeadRow>
<TableHeadCell />
</TableHeadRow>
</TableHead>
<TableBody>
<TableRow>
<TableCell>
<TableCellText />
</TableCell>
</TableRow>
</TableBody>
</Table>
</TableContext>
- Using the same composition of Code Components in Plasmic Studio and then syncing the code throws the error shared above.