style: add fade-in transition from skeleton to content
Smooth out the jarring visual pop when loading skeletons are replaced by real content. Only animates after an actual skeleton was shown — cached data still renders instantly with no delay.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
const SK = 'animate-pulse bg-neutral-100 dark:bg-neutral-800'
|
||||
|
||||
export { useMinimumLoading } from './useMinimumLoading'
|
||||
export { useMinimumLoading, useSkeletonFade } from './useMinimumLoading'
|
||||
|
||||
// ─── Primitives ──────────────────────────────────────────────
|
||||
|
||||
|
||||
Reference in New Issue
Block a user