Skip to content

Commit

Permalink
feature(storybook): change folder structure (#894)
Browse files Browse the repository at this point in the history
* feature(storybook): change folder structure

* fix(storybook): change imports for types

* fix(storybook): wip

* only create custom element if not defined

* feat(storybook): align overall folder structure

* fix(storybook): tests

* fix(storybook): delete unnecessary folder

* fix(storybook): wip

* fix(storybook): delete double customElements

---------

Co-authored-by: christian.b.hoffmann <[email protected]>
  • Loading branch information
2 people authored and larserbach committed Feb 20, 2024
1 parent b25500b commit 1276aee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/ui-library/src/components/icon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,8 @@ if (!customElements.get(TAG_NAME)) {
customElements.define(TAG_NAME, BlrIcon);
}

if (!customElements.get(TAG_NAME)) {
customElements.define(TAG_NAME, BlrIcon);
}

export type BlrIconType = Partial<Omit<BlrIcon, keyof LitElement>> & BlrIconEventHandlers;

0 comments on commit 1276aee

Please sign in to comment.