1.0.32 • Published 6 months ago

react-pose-viewer v1.0.32

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

react-pose-viewer npm

React library for viewing .pose files

Usage

Install it with

npm i react-pose-viewer

and use like

import { PoseViewer } from 'react-pose-viewer';

<PoseViewer
    src="https://us-central1-sign-mt.cloudfunctions.net/spoken_text_to_signed_pose?spoken=en&signed=ase&text=hello"
    loop
    autoplay
/>

check the Example and available Props for more understanding

Props

Prop NameTypeDescription
aspectRationumberThe aspect ratio of the element, typically width/height.
autoplaybooleanIndicates whether the media should start playing automatically.
backgroundstringThe background color or image of the element.
heightstringThe height of the element (e.g., px, %, etc.).
loopbooleanIndicates whether the media should loop after reaching the end.
paddingstringThe padding around the element (e.g., px, %, etc.).
playbackRatenumberThe rate at which the media is played back (1.0 is normal speed).
src (required)string | BufferThe source of the media, either as a URL string or binary data (Buffer).
thicknessnumberThe thickness or stroke width of an element (if applicable).
widthstringThe width of the element (e.g., px, %, etc.).
1.0.32

6 months ago

1.0.31

6 months ago

1.0.3

6 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago