mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 01:01:38 +00:00
* Fix post toc style * Add loading skeleton * add post comment loading anime * update underline style
22 lines
369 B
TypeScript
22 lines
369 B
TypeScript
import { FC } from 'react';
|
|
import cn from 'classnames';
|
|
|
|
interface Props {
|
|
className?: string;
|
|
}
|
|
|
|
const RUASeleton: FC<Props> = ({ className }) => {
|
|
return (
|
|
<>
|
|
<div
|
|
className={cn(
|
|
'bg-slate-200 animate-pulse rounded-lg dark:bg-slate-400 w-full',
|
|
className
|
|
)}
|
|
></div>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default RUASeleton;
|