some fixes
This commit is contained in:
25
src/misc/WaitResponse.js
Normal file
25
src/misc/WaitResponse.js
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
function WaitResponse(args) {
|
||||
return (
|
||||
<>
|
||||
|
||||
<div className={(args.show ? "flex":"hidden")+ ' delay-300 animate-[fadeIn_0.5s_ease-out] items-start gap-2 justify-center px-2'}>
|
||||
<div className="flex space-x-1 h-full items-center">
|
||||
<div className="w-2 h-2 bg-gray-400 rounded-full animate-pulse" />
|
||||
<div
|
||||
className="w-2 h-2 bg-gray-400 rounded-full animate-pulse"
|
||||
style={{ animationDelay: "0.1s" }}
|
||||
/>
|
||||
<div
|
||||
className="w-2 h-2 bg-gray-400 rounded-full animate-pulse"
|
||||
style={{ animationDelay: "0.3s" }}
|
||||
/>
|
||||
</div>
|
||||
<span className='text-gray-400 animate-pulse'>Генерация ответа...</span>
|
||||
</div>
|
||||
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default WaitResponse;
|
||||
Reference in New Issue
Block a user