Update ha-button.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Wendelin 2025-05-23 11:18:03 +02:00 committed by GitHub
parent 9889d973aa
commit b8cbd1bb41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ import { customElement, property } from "lit/decorators";
*/
@customElement("ha-button")
export class HaButton extends Button {
@property() appearance?: "accent" | "filled" | "plain";
@property({ reflect: true }) appearance?: "accent" | "filled" | "plain";
static override styles = [
styles,