Oh I see!
Still, with direct assignment though, I’m now getting an error
PolarAngleAxisWrapper
import { PolarAngleAxis } from 'recharts';
const PolarAngleAxisWrapper = PolarAngleAxis;
export default PolarAngleAxisWrapper;
PolarGridWrapper
import { PolarGrid } from 'recharts';
const PolarGridWrapper = PolarGrid;
export default PolarGridWrapper;
PolarRadiusAxisWrapper
import { PolarRadiusAxis } from 'recharts';
const PolarRadiusAxisWrapper = PolarRadiusAxis;
export default PolarRadiusAxisWrapper;
RadarChartWrapper
import { RadarChart } from 'recharts';
const RadarChartWrapper = RadarChart;
export default RadarChartWrapper;
RadarWrapper
import { Radar } from 'recharts';
const RadarWrapper = Radar;
export default RadarWrapper;
No overload matches this call.
Overload 1 of 2, '(component: ComponentType<any>, meta: CodeComponentMeta<any>): void', gave the following error.
Argument of type 'typeof Radar' is not assignable to parameter of type 'ComponentType<any>'.
Type 'typeof Radar' is not assignable to type 'ComponentClass<any, any>'.
Types of property 'getDerivedStateFromProps' are incompatible.
Type '(nextProps: Props, prevState: State) => State' is not assignable to type 'GetDerivedStateFromProps<any, any>'.
Types of parameters 'nextProps' and 'nextProps' are incompatible.
Type 'Readonly<any>' is not assignable to type 'Props'.
Property 'dataKey' is missing in type 'Readonly<any>' but required in type 'RadarProps'.
Overload 2 of 2, '(component: ComponentType<any>, name: ComponentLookupSpec): void', gave the following error.
Argument of type 'typeof Radar' is not assignable to parameter of type 'ComponentType<any>'.
I tried just switching the others (besides RadarWrapper) to direct assignment, but Plasmic still didn’t show anything
