@trevorhanus/animatable
v0.1.5
Published
An observable property that uses the laws of physics to move.
Downloads
10
Readme
Animatable
An observable property that uses the laws of physics to move.
Usage
import { autorun } from 'mobx';
import { animatable } from '@trevorhanus/animatable';
const width = animatable(0);
function printWidth() {
console.log(width.value);
}