From 485347e20b16d3bac09f0f08000bc51a5ad222ed Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Wed, 16 Mar 2022 17:39:53 -0400 Subject: [PATCH] use class for selector --- src/components/icon-button/icon-button.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/icon-button/icon-button.ts b/src/components/icon-button/icon-button.ts index 59af9f86f..3d224747b 100644 --- a/src/components/icon-button/icon-button.ts +++ b/src/components/icon-button/icon-button.ts @@ -17,7 +17,7 @@ import styles from './icon-button.styles'; export default class SlIconButton extends LitElement { static styles = styles; - @query('button') button: HTMLButtonElement | HTMLLinkElement; + @query('.icon-button') button: HTMLButtonElement | HTMLLinkElement; /** The name of the icon to draw. */ @property() name?: string;