react-portraits
v1.0.0
Published
Powerful, lightweight and fully customizable portraits component for React apps.
Downloads
2
Readme
⚠️ CURRENTLY UNDER DEVELOPMENT ⚠️
React Portraits
Powerful, lightweight and fully customizable portraits component for React apps.
Features
- Light/dark mode toggle
- Live previews
- Fullscreen mode
- Cross platform
Demo
Insert gif or link to demo
Installation
Install my-project with npm
npm install my-project
cd my-project
Usage/Examples
import Component from 'my-project'
function App() {
return <Component />
}
API Reference
Get all items
GET /api/items
| Parameter | Type | Description |
| :-------- | :------- | :------------------------- |
| api_key
| string
| Required. Your API key |
Get item
GET /api/items/${id}
| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| id
| string
| Required. Id of item to fetch |
add(num1, num2)
Takes two numbers and returns the sum.