Quick Start
Install the library
# Install via NPM
npm install --save @arti-the-ai/arti-core
# Install via Yarn
yarn add @arti-the-ai/arti-core
Usage
You need to wrap "ArtiProvider" in your app index file
If you are not using React or React Native, check the framework's documentation for a simillar approach to React Providers/Contexts.
import React from 'react';
import { ArtiProvider } from '@arti-the-ai/arti-core'
return (
<AppProvider>
<ArtiProvider>
{children}
</ArtiProvider>
</AppProvider>
);
Last updated