Home > @uniformdev/canvas-react > UniformComponentProps

UniformComponentProps type

Signature:

type UniformComponentProps<TRenderProps = unknown> = {
    data?: ComponentInstance | RootComponentInstance;
    resolveRenderer?: RenderComponentResolver;
    children?: ReactNode | ((props: ComponentProps<TRenderProps>) => JSX.Element);
    behaviorTracking?: 'onLoad' | 'onView';
    contextualEditingDefaultPlaceholder?: UniformTextProps['placeholder'];
};

References: ComponentInstance, UniformTextProps