@simpoobusiness/sdk v1.0.0
A React-based SDK for embedding Simpoo Business components (like Inventory Table) into your application.
Install via npm or yarn:
npm install @simpoobusiness/sdk
# OR
yarn add @simpoobusiness/sdk
📊 Inventory Table Component – Display real-time inventory.
🔐 Secure API Calls – Uses your Simpoo API key.
🎨 Styled with Tailwind & Responsive UI.
⚡ Lightweight & Easy Integration.
Import and use the SDK components in your React application:
Wrap your app with the SimpooProvider and pass your API key:
import { SimpooProvider, InventoryTable } from "@simpoobusiness/sdk";
export default function App() {
return (
<SimpooProvider apiKey="YOUR_API_KEY">
<div style=>
<h1>My Inventory</h1>
<InventoryTable />
</div>
</SimpooProvider>
);
}
Note: Replace
YOUR_API_KEY
with your actual Simpoo Business API key.
InventoryTable
: Displays your business inventory.Each component may accept specific props. For example, InventoryTable
:
Prop | Type | Description |
---|---|---|
apiKey | string | Your Simpoo Business API key |
See the official docs for more details and advanced usage.