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 largeImage: unknown displayName: string mobileImage: unknown tabletImage: unknown openGraphImage: unknown backgroundImage: unknown 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.