@capitalos/react
v0.2.0
Published
integrate CapitalOS into your react app
Downloads
21,714
Readme
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() {
// ... obtain token from backend
return (
<App token={token}>
)
}
Typecsript support
TypeScript definitions for @capitalos/react
are built into the npm package and should be automatically picked up by your editor.