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,13 +1,13 @@
|
||||
import type { Meta, StoryObj } from '@storybook/nextjs-vite'
|
||||
import type { Meta, StoryObj } from "@storybook/nextjs-vite"
|
||||
|
||||
import { LoadingSpinner } from './index'
|
||||
import { LoadingSpinner } from "./index"
|
||||
|
||||
const meta: Meta<typeof LoadingSpinner> = {
|
||||
title: 'Patterns/LoadingSpinner',
|
||||
title: "Patterns/LoadingSpinner",
|
||||
component: LoadingSpinner,
|
||||
argTypes: {
|
||||
fullPage: {
|
||||
control: 'check',
|
||||
control: "check",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import styles from './loading.module.css'
|
||||
import styles from "./loading.module.css"
|
||||
|
||||
export function LoadingSpinner({ fullPage }: { fullPage?: boolean }) {
|
||||
return (
|
||||
<div className={`${styles.container} ${fullPage ? styles.fullPage : ''}`}>
|
||||
<div className={`${styles.container} ${fullPage ? styles.fullPage : ""}`}>
|
||||
<div className={styles.spinner}>
|
||||
<div></div>
|
||||
<div></div>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
}
|
||||
|
||||
.spinner div::after {
|
||||
content: ' ';
|
||||
content: " ";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
|
||||
Reference in New Issue
Block a user