Colored circles that can pulse
-diff --git a/src/status-indicator.ts b/src/status-indicator.ts index e84c7ef..da948b3 100644 --- a/src/status-indicator.ts +++ b/src/status-indicator.ts @@ -1,5 +1,7 @@ import { WebComponent, html } from 'web-component-base' +type StatusType = 'default' | 'active' | 'positive' | 'intermediary' | 'negative' + class StatusIndicator extends WebComponent { static shadowRootInit: ShadowRootInit = { mode: 'closed' @@ -10,7 +12,7 @@ class StatusIndicator extends WebComponent { pulse: false } - #indicatorColor: any = { + #indicatorColor: Record