"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BulletList = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("react");
const classNames_1 = require("../utils/classNames");
const constants_1 = require("./constants");
const styles_1 = require("./styles");
/**
 * Список элементов с маркерами
 */
const BulletList = (props) => {
    const { children, hideFirstBullet, className } = props;
    const classnames = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(className, constants_1.bulletListClassnames.root, {
        [constants_1.bulletListClassnames.hideFirstBullet]: hideFirstBullet,
    }), [hideFirstBullet]);
    return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { children: (0, jsx_runtime_1.jsx)(styles_1.List, { className: classnames, children: children }) }));
};
exports.BulletList = BulletList;
