/react-cube-svg

Generates SVG visualizations of various twisty puzzles

Primary LanguageTypeScript

react-cube-svg

Generates SVG visualizations of various twisty puzzles

NPM JavaScript Style Guide

Install

npm install --save react-cube-svg

Usage

import React, { Component } from 'react'

import { Cube } from 'react-cube-svg'

class Example extends Component {
  render() {
    return <Cube scramble="F U2 L2 B2 F' U L2 U R2 D2 L' B L2 B' R2 U2" />
  }
}

License

MIT © coder13