'use strict';

var jsxRuntime = require('react/jsx-runtime');
var React = require('react');
var index = require('../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.cjs');
var cell_module = require('./cell.module.css.cjs');
var checkbox = require('../checkbox/checkbox.cjs');

const Cell = React.forwardRef(({ className, children, leadingIcon, trailingIcon, type = "item", ...props }, ref) => (jsxRuntime.jsxs("div", { ref: ref, ...props, className: index.cx(cell_module.default.cell, cell_module.default.comboboxcell, className), children: [type == "select" && jsxRuntime.jsx(checkbox.Checkbox, {}), leadingIcon && jsxRuntime.jsx("span", { className: cell_module.default.leadingIcon, children: leadingIcon }), children, trailingIcon && (jsxRuntime.jsx("span", { className: cell_module.default.trailingIcon, children: trailingIcon }))] })));

exports.Cell = Cell;
//# sourceMappingURL=cell.cjs.map
