@tbbn/sdk-rn
v0.2.0
Published
React Native hooks for the TBBN Platform API.
Maintainers
Readme
@tbbn/sdk-rn
React Native hooks for the TBBN Platform API. This package is
@tbbn/sdk-react re-exported under a React
Native name: that package is written purely against React's core hooks with no DOM dependency,
so it runs unchanged under React Native's renderer.
Install
npm install @tbbn/sdk-rnReact 18 or 19 is a peer dependency.
Quick start
import { TbbnProvider, useOffers } from '@tbbn/sdk-rn';Everything documented for @tbbn/sdk-react — TbbnProvider, useTbbnClient, useQuery,
and the resource hooks — is available here with an identical API. A complete example rendered
with React Native primitives is in example/OffersInbox.tsx.
Support
Questions and bug reports: the developer community.
License
MIT © Trade By Barter Network, Inc.
