Skip to content

Commit

Permalink
Don't export ToggleSwitchElement (#1450)
Browse files Browse the repository at this point in the history
* Don't export ToggleSwitchElement

* Add changeset
  • Loading branch information
camertron authored Oct 5, 2022
1 parent dbcb34e commit ef4498d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cold-rules-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/view-components': patch
---

Don't export ToggleSwitchElement
2 changes: 1 addition & 1 deletion app/components/primer/alpha/toggle_switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {controller, target} from '@github/catalyst'
import {debounce} from '@github/mini-throttle/decorators'

@controller
export class ToggleSwitchElement extends HTMLElement {
class ToggleSwitchElement extends HTMLElement {
@target switch: HTMLElement
@target loadingSpinner: HTMLElement
@target errorIcon: HTMLElement
Expand Down

0 comments on commit ef4498d

Please sign in to comment.