render button with icon

This commit is contained in:
Mads Rasmussen
2024-09-09 18:04:44 +02:00
committed by Niels Lyngsø
parent 0088d5ea88
commit fce4111dd6

View File

@@ -6,7 +6,11 @@ const elementName = 'umb-help-header-app';
@customElement(elementName)
export class UmbHelpHeaderAppElement extends UmbHeaderAppButtonElement {
override render() {
return html` <div>My Header App</div> `;
return html`
<uui-button look="primary" label="help" compact>
<uui-icon name="icon-help-alt"></uui-icon>
</uui-button>
`;
}
static override styles: CSSResultGroup = [UmbHeaderAppButtonElement.styles, css``];