Skip to content

Commit

Permalink
refactor: export the class declaration in the same module that define…
Browse files Browse the repository at this point in the history
…s the custom element (#120)

This is useful for the lit integration of astro that relies on this structure to provide ssr
  • Loading branch information
daenub authored Jan 23, 2024
1 parent 1c1cee9 commit f44c1e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/menu/MenuItem.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { LitElement, nothing } from "lit"
import { html, unsafeStatic } from "lit/static-html.js"
import { ifDefined } from "lit/directives/if-defined.js"

import styles from "./menu-item.css"

import { Icon, ICON_NAMES } from "../icon/icon.js"
Expand Down

0 comments on commit f44c1e4

Please sign in to comment.