forked from pixijs/pixi-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocz-rp.js
25 lines (22 loc) · 877 Bytes
/
docz-rp.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const empty = () => null
let RP
if (process.env.NODE_ENV === 'development') {
RP = require('./src')
} else {
RP = require('./dist/react-pixi.umd')
}
export const Stage = RP.Stage || empty
export const Container = RP.Container || empty
export const Sprite = RP.Sprite || empty
export const AnimatedSprite = RP.AnimatedSprite || empty
export const BitmapText = RP.BitmapText || empty
export const Text = RP.Text || empty
export const Graphics = RP.Graphics || empty
export const NineSlicePlane = RP.NineSlicePlane || empty
export const ParticleContainer = RP.ParticleContainer || empty
export const SimpleMesh = RP.SimpleMesh || empty
export const SimpleRope = RP.SimpleRope || empty
export const TilingSprite = RP.TilingSprite || empty
export const useTick = RP.useTick || empty
export const useApp = RP.useApp || empty
export const withFilters = RP.withFilters || empty