import React from "react"; import Skeleton, { SkeletonTheme } from "react-loading-skeleton"; import "react-loading-skeleton/dist/skeleton.css"; // Match the plugin's other skeletons (e.g. GridLoader): a flat var(--text-color-150) // fill — base === highlight, so no shimmer — instead of react-loading-skeleton's // default #ebebeb, which looked different from the rest of the dashboard. const SK = { baseColor: "var(--text-color-150)", highlightColor: "var(--text-color-150)" }; /** * Loading skeleton shaped exactly like the "No Category Found" empty card * (NoDocsBody). Shown while the All Docs panel loads on a known-empty knowledge * base (betterdocs_admin.kb_is_empty), so an empty install transitions * skeleton-card -> empty card with no misleading category/docs skeleton in * between. Reuses NoDocsBody's wrapper classes so the card frame, padding and * centering match 1:1; only the content is replaced with skeleton blocks. */ const NoDocsLoader = () => (

); export default NoDocsLoader;