import type Select from "./Select.js"; import Icon from "./Icon.js"; import slimArrowDown from "@ui5/webcomponents-icons/dist/slim-arrow-down.js"; import SelectPopoverTemplate from "./SelectPopoverTemplate.js"; export default function SelectTemplate(this: Select) { return ( <>
{!this.icon && this.selectedOptionIcon && }
{this.hasCustomLabel ? : this.text }
{this.icon &&
} {!this.icon && !this.readonly &&
} {this.hasValueState && {this.valueStateText} } {this.ariaDescriptionText && {this.ariaDescriptionText} }
{SelectPopoverTemplate.call(this)} ); }