mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 15:46:39 +08:00
18 lines
412 B
TypeScript
18 lines
412 B
TypeScript
import styles from "./loading-dots.module.scss";
|
|
|
|
interface LoadingDotsProps {
|
|
color?: string;
|
|
}
|
|
|
|
const LoadingDots = ({ color = "#000" }: LoadingDotsProps) => {
|
|
return (
|
|
<span className={styles.loading}>
|
|
<span style={{ backgroundColor: color }} />
|
|
<span style={{ backgroundColor: color }} />
|
|
<span style={{ backgroundColor: color }} />
|
|
</span>
|
|
);
|
|
};
|
|
|
|
export default LoadingDots;
|