React
Usage
Description about how to use with React framework
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Description about how to use with React framework
npm install @useawards/client @useawards/react-dom @useawards/core
yarn add @useawards/client @useawards/react-dom @useawards/core
import { createUseawardsClient } from '@useawards/client';
import { UseawardsProvider } from '@useawards/react-dom';
import { createUseawards } from '@useawards/core';
const client = createUseawardsClient(appId, apiKey);
const useawards = createUseawards(client);
function App() {
return (
<UseawardsProvider useawards={useawards}>
{/* Your app code here */}
</UseawardsProvider>
);
}
