import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2007-2025 GoodData Corporation
import { EditableLabel } from "@gooddata/sdk-ui-kit";
export function EditableHeadline({ maxLength, originalTitle, text, onTitleChange, onTitleEditingCancel = () => { }, onTitleEditingStart = () => { }, }) {
    return (_jsx(EditableLabel, { className: "s-editable-label s-headline", maxRows: 2, value: text, maxLength: maxLength, placeholder: originalTitle, onEditingStart: onTitleEditingStart, onSubmit: onTitleChange, onCancel: onTitleEditingCancel, children: _jsx("span", { children: text }) }));
}
