import * as React from 'react';
import classNames from 'classnames';
import { ai as NameHelp, ar as Checkbox } from './MapEditView-67426f04.js';

var prefixCls = 'dm-map-base-label-checkbox';
var LabelCheckbox = function (props) {
    var className = props.className, text = props.text, help = props.help, checked = props.checked, onChange = props.onChange, title = props.title, _a = props.nameWidth, nameWidth = _a === void 0 ? 84 : _a, getPopupContainer = props.getPopupContainer;
    return (React.createElement("div", { className: classNames(prefixCls, className) },
        React.createElement(NameHelp, { name: text, help: help, width: nameWidth, getPopupContainer: getPopupContainer }),
        React.createElement(Checkbox, { checked: checked, size: "compact", onChange: onChange, title: title })));
};

export { LabelCheckbox as L };
