1.0.0 • Published 5 years ago

@feetme/insole-view-react v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 years ago

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"
/>