import React from "react"; // Loading skeleton that mirrors the real tree-table / tag-list layout. // variant="tree" renders the connector + chevron column (Doc Categories); // variant="flat" omits them (Doc Tags). Structural classes are reused from // _tree-table.scss so the skeleton aligns pixel-for-pixel with the loaded UI. const ROW_COUNT = 6; // Varied widths keep the shimmer from looking like a uniform grid const TITLE_WIDTHS = ["46%", "34%", "52%", "40%", "30%", "48%"]; const META_WIDTHS = ["62%", "70%", "55%", "66%", "58%", "72%"]; const SkeletonRow = ({ variant, index }) => (