mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-18 05:06:54 +08:00

Co-authored-by: NFish <douxc512@gmail.com> Co-authored-by: zxhlyh <jasonapring2015@outlook.com> Co-authored-by: twwu <twwu@dify.ai> Co-authored-by: jZonG <jzongcode@gmail.com>
24 lines
653 B
TypeScript
24 lines
653 B
TypeScript
'use client'
|
|
import React from 'react'
|
|
import Placeholder from '../../card/base/placeholder'
|
|
import Checkbox from '@/app/components/base/checkbox'
|
|
|
|
const Loading = () => {
|
|
return (
|
|
<div className='flex items-center space-x-2'>
|
|
<Checkbox
|
|
className='shrink-0'
|
|
checked={false}
|
|
disabled
|
|
/>
|
|
<div className='hover-bg-components-panel-on-panel-item-bg relative grow rounded-xl border-[0.5px] border-components-panel-border bg-components-panel-on-panel-item-bg p-4 pb-3 shadow-xs'>
|
|
<Placeholder
|
|
wrapClassName='w-full'
|
|
/>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default React.memo(Loading)
|