Files
web/packages/design-system/lib/components/ChipLink/ChipLink.stories.tsx
Joakim Jäderberg f531c7a49f Merged in feature/storybook-tests (pull request #2623)
Feature/storybook tests

* feature: add interaction tests for storybook and upgrade storybook@9

* add a11y testing for storybook

* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/storybook-tests

* Test and build only required packages

* .

* .

* .

* .

* .

* .

* .

* disable playwright tests in netlify ci

* .

* debug out process.env

* don't run playwright on CI

* remove unused netlify-plugin-playwright-cache

* .

* .

* .

* .

* .

* .

* remove turbo dependancy to design-system#test

* merge

* merge


Approved-by: Anton Gunnarsson
2025-08-14 06:25:08 +00:00

27 lines
535 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react-vite'
import { MaterialIcon } from '../Icons/MaterialIcon'
import { ChipLink } from './ChipLink.tsx'
const meta: Meta<typeof ChipLink> = {
title: 'Components/Chip/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} />
</>
),
},
}