react-matrix-code-rain
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

react-matrix-code-rain

A simulation of the Matrix "Code Rain" effect.

Code inspirate by

Installation

npm i react-matrix-code-rain

React

Declaration

/// <reference types="react" />
export type MatrixCodeRainComponentProps = {
  width?: number | string;
  height?: number | string;
  timeout?: number;
  textStrip?: string[];
  theColors?: string[];
  stripCount?: number;
};
declare const MatrixCodeRainComponent: React.FC<MatrixCodeRainComponentProps>;
export default MatrixCodeRainComponent;

Usages

import './App.css';
import MatrixCodeRainComponent from 'react-matrix-code-rain';

function App() {
  return (
    <div className="App">
      <MatrixCodeRainComponent />
    </div>
  );
}

export default App;

Screen

Screen example

Package Sidebar

Install

npm i react-matrix-code-rain

Weekly Downloads

1

Version

1.0.8

License

SEE LICENSE IN LICENSE

Unpacked Size

8.66 kB

Total Files

5

Last publish

Collaborators

  • joazco