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
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import type { Meta, StoryObj } from '@storybook/nextjs-vite'
|
||||
import { LinkList } from './index'
|
||||
import { IconName } from '../Icons/iconName'
|
||||
import type { LinkListItemProps } from './LinkListItem'
|
||||
import type { Meta, StoryObj } from "@storybook/nextjs-vite"
|
||||
import { LinkList } from "./index"
|
||||
import { IconName } from "../Icons/iconName"
|
||||
import type { LinkListItemProps } from "./LinkListItem"
|
||||
|
||||
const meta: Meta<typeof LinkList> = {
|
||||
title: 'Core Components/LinkList/LinkList',
|
||||
title: "Core Components/LinkList/LinkList",
|
||||
component: LinkList,
|
||||
argTypes: {},
|
||||
}
|
||||
@@ -15,30 +15,30 @@ type Story = StoryObj<typeof LinkList>
|
||||
|
||||
const illustrationItems = [
|
||||
{
|
||||
text: 'First Link Item',
|
||||
text: "First Link Item",
|
||||
isExternal: false,
|
||||
illustration: {
|
||||
illustration: 'Granola' as IconName,
|
||||
size: 'medium',
|
||||
illustration: "Granola" as IconName,
|
||||
size: "medium",
|
||||
},
|
||||
} as LinkListItemProps,
|
||||
{
|
||||
text: 'Second Link Item',
|
||||
text: "Second Link Item",
|
||||
isExternal: true,
|
||||
illustration: {
|
||||
illustration: 'Coin' as IconName,
|
||||
size: 'small',
|
||||
illustration: "Coin" as IconName,
|
||||
size: "small",
|
||||
},
|
||||
} as LinkListItemProps,
|
||||
]
|
||||
|
||||
const textItems = [
|
||||
{
|
||||
text: 'First Link Item',
|
||||
text: "First Link Item",
|
||||
isExternal: false,
|
||||
} as LinkListItemProps,
|
||||
{
|
||||
text: 'Second Link Item',
|
||||
text: "Second Link Item",
|
||||
isExternal: true,
|
||||
} as LinkListItemProps,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user