Files
web/packages/design-system/lib/components/ChipLink/ChipLink.stories.tsx
Rasmus Langvad d0546926a9 Merged in fix/3697-prettier-configs (pull request #3396)
fix(SW-3691): Setup one prettier config for whole repo

* Setup prettierrc in root and remove other configs


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
2026-01-07 12:45:50 +00:00

27 lines
536 B
TypeScript

import type { Meta, StoryObj } from "@storybook/nextjs-vite"
import { MaterialIcon } from "../Icons/MaterialIcon"
import { ChipLink } from "./ChipLink.tsx"
const meta: Meta<typeof ChipLink> = {
title: "Core Components/ChipLink",
component: ChipLink,
}
export default meta
type Story = StoryObj<typeof ChipLink>
export const Default: Story = {
args: {
href: "/",
onPress: (e) => console.log(e),
children: (
<>
Link Chip
<MaterialIcon icon="chevron_right" size={20} />
</>
),
},
}