3.1.0 • Published 1 year ago

react-siriwave v3.1.0

Weekly downloads
793
License
MIT
Repository
github
Last release
1 year ago

React-SiriWave

NPM Package

Install

npm

npm install --save react-siriwave

yarn

yarn add react-siriwave

Usage

import Siriwave from 'react-siriwave';

// ...
<Siriwave />
// ...

Demo

Constructor options

KeyTypeDescriptionDefaultRequired
theme"ios", "ios9"The curve style of the wave."ios"no
ratioNumberRatio of the display to use. Calculated by default.calculatedno
speedNumberThe speed of the animation.0.2no
amplitudeNumberThe amplitude of the complete wave-form.1no
frequencyNumberThe frequency of the complete wave-form. Only available in style "ios"6no
colorStringColor of the wave. Only available in style "ios""#fff"no
coverBoolThe canvas covers the entire width or height of the containerfalseno
autostartBoolDecide wether start the animation on boot.trueno
pixelDepthNumberNumber of step (in pixels) used when drawed on canvas.0.02no
lerpSpeedNumberLerp speed to interpolate properties.0.01no
curveDefinitionICurveDefinition[]Override definition of the curvesnullno
onInit(siriwave: Siriwave) => voidCallback function to get the siriwave instancenullno
3.1.0

1 year ago

3.0.0-alpha.6

1 year ago

3.0.0-alpha.1

1 year ago

3.0.0-alpha.0

1 year ago

3.0.0-alpha.3

1 year ago

3.0.0-alpha.2

1 year ago

3.0.0-alpha.5

1 year ago

3.0.0-alpha.4

1 year ago

2.1.0

3 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago