7.1.3 • Published 2 months ago

@pixi/react-animated v7.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

React Spring

Use "@pixi/react-animated" with "@pixi/react" for react-spring compatible animated components.

Usage

import React from 'react';
import { Spring } from 'react-spring';
import { Texture } from 'pixi.js';
import { Stage, Sprite } from '@pixi/react-animated';

const App = () => (
  <Stage>
    <Spring native from={{ x: 0, y: 0 }} to={{ x: 200, y: 200 }}>
      {(props) => <Sprite texture={Texture.WHITE} tint={0xff0000} {...props} />}
    </Spring>
  </Stage>
);
7.1.3

2 months ago

7.1.2

2 months ago

7.1.1

9 months ago

7.1.0

1 year ago

7.0.3

1 year ago

7.0.2

1 year ago

7.0.0

1 year ago

7.0.1

1 year ago

7.0.0-alpha.2

1 year ago

7.0.0-alpha.1

1 year ago