import { __assign } from "tslib";
import { jsx as _jsx } from "react/jsx-runtime";
import isNil from '../../../utils/isNil';
export var renderHeader = function (title) {
    if (isNil(title)) {
        return null;
    }
    return (_jsx("div", __assign({ className: "zent-drawer-header", "data-zv": 'v10.0.11' }, { children: typeof title === 'number' || typeof title === 'string' ? (_jsx("span", __assign({ className: "zent-drawer-header__title", "data-zv": 'v10.0.11' }, { children: title }), void 0)) : (title) }), void 0));
};
