react-matrix-decoder

1.0.1 • Public • Published

Matrix Decode

npm install react-matrix-reload --save

import React from 'react'
import ReactDOM from 'react-dom'
import MatrixDecode from 'react-matrix-decoder'
 
class Container extends React.Component {
  render () {
    return (
      <div>
        <div>
          <MatrixDecode ref='decode' before='Reveal me' after='Trump 💩' speed={50} />
        </div>
        <div>
          <button onClick={() => this.refs.decode.decode()}>Matrix Decode!</button>
        </div>
      </div>
    )
  }
}
 
ReactDOM.render(<Container />, document.getElementById('container'))
 

You will get this effect

test

Readme

Keywords

Package Sidebar

Install

npm i react-matrix-decoder

Weekly Downloads

5

Version

1.0.1

License

MIT

Last publish

Collaborators

  • mattmezza