'use client';
import { html, nothing } from 'lit';
import { OptionElement } from '../../base/option-element.js';
import { SgdsIcon } from '../Icon/sgds-icon.js';

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

export { SgdsSelectOption, SgdsSelectOption as default };
//# sourceMappingURL=sgds-select-option.js.map
