import { ReactNode } from 'react'; import clsx from 'clsx'; import { Skeleton } from '@theme/components'; interface SectionSkeletonProps { active?: boolean; children?: ReactNode; contentClassName?: string; } export const SectionSkeleton = ({ active = false, children, contentClassName }: SectionSkeletonProps) => { return (
{(active || children) && (
{children ?? }
)}
); }; export default SectionSkeleton;