/**
 * SectionLoading – loading state for section (primitive)
 */
import React from 'react';
import { useSectionSearchContext } from './SectionSearchContext';
export function SectionLoading({ className, style, text = 'Loading...' }) {
    const { loading } = useSectionSearchContext();
    if (!loading)
        return null;
    return (React.createElement("div", { className: className, style: { padding: 16, color: 'var(--seekora-text-secondary)', fontSize: '0.875rem', ...style } }, text));
}
