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 type { Meta, StoryObj } from "@storybook/nextjs-vite"
|
||||
|
||||
import { MaterialIcon } from '../Icons/MaterialIcon'
|
||||
import { ChipLink } from './ChipLink.tsx'
|
||||
import { MaterialIcon } from "../Icons/MaterialIcon"
|
||||
import { ChipLink } from "./ChipLink.tsx"
|
||||
|
||||
const meta: Meta<typeof ChipLink> = {
|
||||
title: 'Core Components/ChipLink',
|
||||
title: "Core Components/ChipLink",
|
||||
component: ChipLink,
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ type Story = StoryObj<typeof ChipLink>
|
||||
|
||||
export const Default: Story = {
|
||||
args: {
|
||||
href: '/',
|
||||
href: "/",
|
||||
onPress: (e) => console.log(e),
|
||||
children: (
|
||||
<>
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { cx } from 'class-variance-authority'
|
||||
import { Typography } from '../Typography'
|
||||
import { cx } from "class-variance-authority"
|
||||
import { Typography } from "../Typography"
|
||||
|
||||
import styles from './chip-link.module.css'
|
||||
import styles from "./chip-link.module.css"
|
||||
|
||||
import type { PropsWithChildren } from 'react'
|
||||
import type { PropsWithChildren } from "react"
|
||||
import {
|
||||
Link as LinkRAC,
|
||||
LinkProps as LinkRACProps,
|
||||
} from 'react-aria-components'
|
||||
} from "react-aria-components"
|
||||
|
||||
export function ChipLink({
|
||||
children,
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { ChipLink } from './ChipLink'
|
||||
export { ChipLink } from "./ChipLink"
|
||||
|
||||
Reference in New Issue
Block a user