'use client';
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var lit = require('lit');
var optionElement = require('../../base/option-element.cjs.js');
var sgdsIcon = require('../Icon/sgds-icon.cjs.js');

/**
 * @summary SelectOption is the option of the Select
 *
 * @slot default - The label of the option
 */
class SgdsSelectOption extends optionElement.OptionElement {
    constructor() {
        super(...arguments);
        this._renderItemContent = () => {
            return lit.html `<div class="normal-item-content">
      <slot></slot>
      ${this.active ? lit.html ` <sgds-icon name="check"></sgds-icon> ` : lit.nothing}
    </div>`;
        };
    }
}
/** @internal */
SgdsSelectOption.dependencies = {
    "sgds-icon": sgdsIcon.SgdsIcon
};

exports.SgdsSelectOption = SgdsSelectOption;
exports["default"] = SgdsSelectOption;
//# sourceMappingURL=sgds-select-option.cjs.js.map
