Skip to content

Commit

Permalink
Add HermesLogo to Glint registry (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdaley authored Oct 20, 2023
1 parent 9032b26 commit ccd6bcf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 1 addition & 5 deletions web/app/components/hermes-logo.hbs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{{! @glint-nocheck: not typesafe yet }}
<div
class="hermes-logo"
...attributes
>
<div class="hermes-logo" ...attributes>
<FlightIcon @name="hashicorp" @size="24" />
<div class="hermes-logo-divider"></div>
<div class="hermes-logo-text">
Expand Down
7 changes: 6 additions & 1 deletion web/app/components/hermes-logo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import Component from "@glimmer/component";

interface HermesLogoComponentSignature {
Element: HTMLDivElement;
Args: {};
}

export default class HermesLogoComponent extends Component<HermesLogoComponentSignature> {}

declare module "@glint/environment-ember-loose/registry" {
export default interface Registry {
HermesLogo: typeof HermesLogoComponent;
}
}

0 comments on commit ccd6bcf

Please sign in to comment.