Files
pipecat/examples/storytelling-chatbot/frontend/components/WaveText/index.tsx
2024-05-13 17:09:46 +01:00

24 lines
490 B
TypeScript

import React from "react";
import styles from "./WaveText.module.css";
interface Props {
active: boolean;
}
export default function WaveText({ active }: Props) {
return (
<div className={`${styles.waveText} ${active ? styles.active : ""}`}>
<span>W</span>
<span>h</span>
<span>a</span>
<span>t</span>
<span>&nbsp;&nbsp;</span>
<span>n</span>
<span>e</span>
<span>x</span>
<span>t</span>
<span>?</span>
</div>
);
}