1.0.0 • Published 5 years ago
@feetme/insole-view-react v1.0.0
InsoleView
Setup
Install from npm using
1. npm i @feetme/insole-view-react
2. import { InsoleView } from 'insole-view-react;
Usage
<InsoleView
// array of positions, describing the outline of an insole
outline={[[x, y], [x1, y1], ...]}
// array of positions, one couple [x, y] for each sensor
sensors={[[x, y], [x1, y1], ...]}
// value of the pressure sensors
capa={[a, b, c, ...]}
// Side of the insole, "left" or "right"
side="left"
/>
1.0.0
5 years ago