JSPM

@l-mbert/react-pixelart

0.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q38643F
  • License GPL-3.0

A simple Pixeleditor built with React.

Package Exports

  • @l-mbert/react-pixelart

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@l-mbert/react-pixelart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-pixelart

Travis npm package Coveralls

A simple Pixeleditor built with React.

Installation and usage

The easiest way to use react-pixelart is to install it from npm and build it into your app with Webpack.

yarn add react-pixelart

Then use it in your app:

import React from 'react';
import Pixelart from 'react-pixelart';

class App extends React.Component {
  render() {
    return <Pixelart pixelSize={16} columns={32} rows={32} />;
  }
}

Props

  • pixelSize - specify the Size of an Pixel
  • columns - number of columns
  • rows - number of rows

License

GPL-3.0 Licensed. Copyright (c) Lambert Weller 2020.