Received request from Uniform to render a component with the public ID: countdown
.
<UniformComposition />
does not have countdown
mapped to a React component yet.
import { ComponentProps, UniformSlot, } from '@uniformdev/canvas-next-rsc/component'; type CountdownParameters = { day: string andI: string hour: string title: string minute: string second: string cTAText: string noIndex: unknown noFollow: unknown subtitle: string pageTitle: string displayName: string canonicalUrl: string metaDescription: string }; type CountdownSlots = ; type CountdownProps = ComponentProps<CountdownParameters, CountdownSlots>; export const CountdownComponent = (props: CountdownProps) => { return ( <div> <div> </div> </div> ); }; Add this component mapping to your resolveComponent function on UniformComposition.
<UniformComposition />
is defined, for example import "../../components/Countdown.tsx"
Need more help? Check out the documentation.