mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-09 10:18:19 +00:00
29 lines
522 B
TypeScript
29 lines
522 B
TypeScript
// Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
import { cn } from "~/lib/utils";
|
|
|
|
import styles from "./loading-animation.module.css";
|
|
|
|
export function LoadingAnimation({
|
|
className,
|
|
size = "normal",
|
|
}: {
|
|
className?: string;
|
|
size?: "normal" | "sm";
|
|
}) {
|
|
return (
|
|
<div
|
|
className={cn(
|
|
styles.loadingAnimation,
|
|
size === "sm" && styles.sm,
|
|
className,
|
|
)}
|
|
>
|
|
<div></div>
|
|
<div></div>
|
|
<div></div>
|
|
</div>
|
|
);
|
|
}
|