import { isPhone } from "@ui5/webcomponents-base/dist/Device.js"; import type ColorPalette from "./ColorPalette.js"; import Button from "./Button.js"; import ColorPaletteItem from "./ColorPaletteItem.js"; export default function ColorPaletteTemplate(this: ColorPalette) { return ( <>
{this.showDefaultColor &&
}
{this.displayedColors.map(color => )}
{this.showMoreColors &&
} {this.showRecentColors &&
{this.recentColors.map((color, index) => )}
}
{ this.showMoreColors && this.showMoreColorsTemplate?.call(this) } ); }