From 4a4c89a941b3345f71272628b74289c431b36676 Mon Sep 17 00:00:00 2001 From: Kasper Birch Date: Wed, 15 Mar 2023 13:36:04 +0100 Subject: [PATCH] Move `LinkButton` to /Buttons/button --- .../Library/{links => Buttons/button}/LinkButton.stories.tsx | 2 +- src/stories/Library/{links => Buttons/button}/LinkButton.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/stories/Library/{links => Buttons/button}/LinkButton.stories.tsx (96%) rename src/stories/Library/{links => Buttons/button}/LinkButton.tsx (89%) diff --git a/src/stories/Library/links/LinkButton.stories.tsx b/src/stories/Library/Buttons/button/LinkButton.stories.tsx similarity index 96% rename from src/stories/Library/links/LinkButton.stories.tsx rename to src/stories/Library/Buttons/button/LinkButton.stories.tsx index 5dbfb5c63..f0b788066 100644 --- a/src/stories/Library/links/LinkButton.stories.tsx +++ b/src/stories/Library/Buttons/button/LinkButton.stories.tsx @@ -3,7 +3,7 @@ import { withDesign } from "storybook-addon-designs"; import { LinkButton } from "./LinkButton"; export default { - title: "Library / Links / Linkbutton", + title: "Library / Buttons / Link Button", component: LinkButton, decorators: [withDesign], argTypes: { diff --git a/src/stories/Library/links/LinkButton.tsx b/src/stories/Library/Buttons/button/LinkButton.tsx similarity index 89% rename from src/stories/Library/links/LinkButton.tsx rename to src/stories/Library/Buttons/button/LinkButton.tsx index 9c1511ea4..e701f47a3 100644 --- a/src/stories/Library/links/LinkButton.tsx +++ b/src/stories/Library/Buttons/button/LinkButton.tsx @@ -1,12 +1,12 @@ import clsx from "clsx"; -import { ButtonIcon } from "../Buttons/button/ButtonIcon"; +import { ButtonIcon } from "./ButtonIcon"; import { ButtonSize, ButtonType, ButtonVariant, getSize, getVariant, -} from "../Buttons/button/helper"; +} from "./helper"; export type LinkButtonProps = { href: string;