Received request from Uniform to render a component with the public ID: appFormPage
.
<UniformComposition />
does not have appFormPage
mapped to a React component yet.
import { ComponentProps, UniformSlot, } from '@uniformdev/canvas-next-rsc/component'; type AppFormPageParameters = { displayName: string resourceKeys: unknown }; type AppFormPageSlots = 'form'; type AppFormPageProps = ComponentProps<AppFormPageParameters, AppFormPageSlots>; export const AppFormPageComponent = (props: AppFormPageProps) => { return ( <div> <div> <UniformSlot data={props.component} context={props.context} slot={props.slots.form} /> </div> </div> ); }; Add this component mapping to your resolveComponent function on UniformComposition.
<UniformComposition />
is defined, for example import "../../components/AppFormPage.tsx"
Need more help? Check out the documentation.