Skip to content

React Fiber renderer for pixi.js with flexbox layout

Notifications You must be signed in to change notification settings

squaretwo/react-pixi-layout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-pixi-layout

React Fiber renderer for pixi.js with flexbox layout

NPM JavaScript Style Guide

Example

(https://codesandbox.io/s/r0lkjp8k1p)

Install

npm install --save react-pixi-layout

Usage

import React, { Component } from 'react'

import { Stage, Text } from 'react-pixi-layout'

class Example extends Component {
  render () {
    return (
      <Stage width={ 640 } height={ 480 }>
      	<Text text="Hello world" />
      </Stage>
    );
  }
}

License

MIT © lunarraid

About

React Fiber renderer for pixi.js with flexbox layout

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.6%
  • HTML 0.4%