ShimmerLine.tsx9 lines · main
| 1 | import { cn } from 'ui' |
| 2 | |
| 3 | const ShimmerLine = ({ active, className }: { active: boolean; className?: string }) => { |
| 4 | return active ? ( |
| 5 | <div className={cn('logs-shimmering-loader w-full h-0.5', className)}></div> |
| 6 | ) : null |
| 7 | } |
| 8 | |
| 9 | export default ShimmerLine |