import * as React from 'react';
import classNames from 'classnames';
import { ag as NameHelp, ap as Checkbox } from './MapEditView-f6381866.js';

const prefixCls = 'dm-map-base-label-checkbox';
const LabelCheckbox = (props) => {
    const { className, text, help, checked, onChange, title, nameWidth = 84, getPopupContainer, } = props;
    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 };
