import { DensityProp } from '../../composables/density.js'; import { SkeletonInjected } from '../../composables/useSkeletonState.js'; import { WithLinkProp } from '../OnyxRouterLink/types.js'; export type OnyxTableOfContentsItemProps = DensityProp & Required & { /** * Whether the item is currently active. * For "auto", the active state will be determined automatically based on the current route. */ active?: boolean | "auto"; /** * Whether to show a skeleton item. */ skeleton?: SkeletonInjected; };