Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Only export Disclosure as default
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperbirch1 committed Mar 20, 2023
1 parent 46fbfbb commit 1c715b6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/stories/Blocks/material-page/MaterialPage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Disclosure } from "../../Library/disclosure/Disclosure";
import Disclosure from "../../Library/disclosure/Disclosure";
import { generateId } from "../../Library/horizontal-term-line/HorizontalTermLine";
import ListDescription, {
ListData,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Disclosure } from "../../disclosure/Disclosure";
import Disclosure from "../../disclosure/Disclosure";
import { Button } from "../../Buttons/button/Button";
import Modal from "../Modal";
import facetBrowserDummyData from "./facet-browser-dummy-data";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Disclosure } from "../../disclosure/Disclosure";
import Disclosure from "../../disclosure/Disclosure";
import ListFindOnShelf from "../../Lists/list-find-on-shelf/ListFindOnShelf";
import Modal from "../Modal";
import { Dropdown } from "../../dropdown/Dropdown";
Expand Down
2 changes: 1 addition & 1 deletion src/stories/Library/disclosure/Disclosure.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ComponentMeta, ComponentStory } from "@storybook/react";
import { withDesign } from "storybook-addon-designs";
import { Disclosure, DisclosureProps } from "./Disclosure";
import Disclosure, { DisclosureProps } from "./Disclosure";

export default {
title: "Library / Disclosure",
Expand Down
2 changes: 1 addition & 1 deletion src/stories/Library/disclosure/Disclosure.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export type DisclosureProps = {
headingLevel: HeadingLevelType;
};

export const Disclosure: React.FC<DisclosureProps> = ({
const Disclosure: React.FC<DisclosureProps> = ({
headline,
children,
icon,
Expand Down

0 comments on commit 1c715b6

Please sign in to comment.