0.0.2-alpha.0 • Published 2 months ago
@craterapp/react-sdk v0.0.2-alpha.0
Crater React SDK
Install
Install using npm install @craterapp/react-sdk
Usage
In a React app, use the Invoice components:import { InvoiceForm } from '@craterapp/react-sdk'
import { InvoiceTable } from '@craterapp/react-sdk'
InvoiceForm props
Name | Description | ||||
---|---|---|---|---|---|
kind | 'Primary' | 'Outline' | 'Inline' | 'Ghost' | ' Warning' |
data-id | string | ||||
type | 'button' | 'submit' | 'reset' | ||
name | string | ||||
value | string | ||||
disabled | Boolean | ||||
onClick | function |
InvoiceTable props
Name | Description |
---|---|
value | integer |
0.0.2-alpha.0
2 months ago