Received request from Uniform to render a component with the public ID: newsFolder
.
<UniformComposition />
does not have newsFolder
mapped to a React component yet.
import { ComponentProps, UniformSlot, } from '@uniformdev/canvas-next-rsc/component'; type NewsFolderParameters = { noIndex: unknown loadPage: unknown noFollow: unknown firstLoad: unknown pageTitle: string bannerTitle: string displayName: string canonicalUrl: string breadcrumbtitle: string metaDescription: string showonbreadcrumb: unknown }; type NewsFolderSlots = ; type NewsFolderProps = ComponentProps<NewsFolderParameters, NewsFolderSlots>; export const NewsFolderComponent = (props: NewsFolderProps) => { return ( <div> <div> </div> </div> ); }; Add this component mapping to your resolveComponent function on UniformComposition.
<UniformComposition />
is defined, for example import "../../components/NewsFolder.tsx"
Need more help? Check out the documentation.