react-matrix-code-rain
v1.0.8
Published
A simulation of the Matrix "Code Rain" effect
Downloads
6
Maintainers
Readme
react-matrix-code-rain
A simulation of the Matrix "Code Rain" effect.
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;