double qutes eslint rule

This commit is contained in:
tmshv committed 2022-09-06 14:52:56 +03:00
1 parent 2e517cc7f7
commit 85bc8c4af5
57 files changed
+370 -366

No files matched your search

+6 -6
View File
@@ -1,16 +1,16 @@
import s from './styles.module.css'
import s from "./styles.module.css"
import cx from 'classnames'
import { createElement } from 'react'
import cx from "classnames"
import { createElement } from "react"
export type BlockProps = {
as?: keyof HTMLElementTagNameMap
style?: React.CSSProperties
direction: 'horizontal' | 'vertical'
direction: "horizontal" | "vertical"
}
export const Block: React.FC<BlockProps> = ({ as = 'div', style, direction, ...props }) => {
const directionClass = direction === 'horizontal'
export const Block: React.FC<BlockProps> = ({ as = "div", style, direction, ...props }) => {
const directionClass = direction === "horizontal"
? s.horizontal
: s.vertical
const newProps = {