import type { SlottedChild } from "@ui5/webcomponents-base/dist/UI5Element.js"; import type FormItem from "./FormItem.js"; export default function FormItemTemplate(this: FormItem) { return (
{ this.accessibleMode === "Edit" ? content.call(this) : contentAsDefinitionList.call(this) }
); } function content(this: FormItem) { return <>
{this.content.map(item =>
)}
; } function contentAsDefinitionList(this: FormItem) { return <>
{this.content.map(item =>
)}
; }