react-audio-visualizers
Version:
<h1 align="center">React Audio Visualizers</h1>
13 lines (12 loc) • 488 B
TypeScript
import { Color } from 'react-audio-visualizers-core';
import { MutableRefObject } from 'react';
import { BufferGeometry, Mesh } from 'three';
export interface SquaredBarProps {
position: [number, number];
height: number;
width: number;
rotation?: number;
colors?: Color[];
meshRef?: MutableRefObject<Mesh<BufferGeometry> | null>;
}
export declare const SquaredBar: ({ position: [x, y], height, width, rotation, meshRef, colors, }: SquaredBarProps) => JSX.Element;