The Kajoo-ai Sitecore React components are a lightweight wrapper around the @sitecore-jss/sitecore-jss-react
library. They are designed to provide a seamless integration with your Sitecore JSS React projects.
Please ensure to use a version of this package that matches with your project's @sitecore-jss/sitecore-jss-react
version. For instance, if your project is using @sitecore-jss/sitecore-jss-react@14.x
, then you should use @kajoo-ai/sitecore-react@14.x
.
You can install the package using either npm or yarn:
With npm:
npm install @kajoo-ai/sitecore-react
Or with yarn:
yarn add @kajoo-ai/sitecore-react
To utilize Kajoo Sitecore React components in your project, import the specific components you need:
import { Text, Image } from "@kajoo-ai/sitecore-react";