Capital OS for React
React components for integrating with Capital OS
Requirements
React 16.8.0 or later
Installation
npm
npm install @capitalos/react
yarn
yarn add @capitalos/react
pnpm
pnpm add @capitalos/react
Documentation
Please refer to the official docs for more details.
Usage
In order to use the components you will need to obtain a client authentication token. refer to the Capital OS documentation for more information.
import { App } from '@capitalos/react'
function MyComponent() {
return (
<App token={token}>
)
}
TypeScript support
TypeScript definitions for @capitalos/react
are built into the npm package and should be automatically picked up by your editor.