Unknown Component
Received request from Uniform to render a component with the public ID: articleHero
.
<UniformComposition />
does not have articleHero
mapped to a React component yet.
To teach your app how to render this component:
- Create a React component and register it with Uniform, for example
function ArticleHero() { return ( <div> ArticleHero! </div> ) } registerUniformComponent({ type: "articleHero", component: ArticleHero })
Props that your React component will receive
{ "component": { "type": "articleHero", "parameters": {} } }
- Import the component into the file where
<UniformComposition />
is defined, for exampleimport "../components/ArticleHero.tsx"
Need more help? Check out the documentation.
Unknown Component
Received request from Uniform to render a component with the public ID: articleBody
.
<UniformComposition />
does not have articleBody
mapped to a React component yet.
To teach your app how to render this component:
- Create a React component and register it with Uniform, for example
function ArticleBody() { return ( <div> ArticleBody! </div> ) } registerUniformComponent({ type: "articleBody", component: ArticleBody })
Props that your React component will receive
{ "component": { "type": "articleBody", "parameters": {} } }
- Import the component into the file where
<UniformComposition />
is defined, for exampleimport "../components/ArticleBody.tsx"
Need more help? Check out the documentation.
Unable to find Uniform Context. Ensure the devtools plugin is activated.