import { jsx as _jsx } from "react/jsx-runtime";
import { cn } from '../../../utils/cn.js';
export function StaticTextField(props) {
    const { field, config } = props;
    const content = field.static_content || field.label || '';
    const style = field.style_variant && config.style_resolver.has_style(field.style_variant)
        ? config.style_resolver.to_style(field.style_variant)
        : undefined;
    return (_jsx("div", { className: cn('cls_data_form_static_text', 'py-1'), children: _jsx("span", { className: "text-sm font-medium text-gray-700", style: style, children: content }) }));
}
//# sourceMappingURL=static_text_field.js.map