1.4.2 • Published 6 months ago
@setu/api-status v1.4.2
API Status - v1.4.1
Real time API status badge powered by Instatus
Installation
yarn add @setu/api-status
# or
npm install @setu/api-statusExample usage
<APIStatus url="INSTATUS_URL" />Customization
- You can add timer based api fetch by passing the prop
updateTimerInMinutes
<APIStatus url="INSTATUS_URL" updateTimerInMinutes={5} />- Change the size of the widget by passing the prop
size
<APIStatus url="INSTATUS_URL" size="large" />- Provide
productListfor INSTATUS widget to show api status for only the product listed
<APIStatus url="INSTATUS" productList={{ upi: "Setu UPI" }} />- Provide
issueListfor INSTATUS widget to show issues only what you listed
<APIStatus url="INSTATUS_URL" issueList={{outage: "Outage"}}