double qutes eslint rule
This commit is contained in:
1 parent
2e517cc7f7
commit
85bc8c4af5
57 files changed
+370
-366
No files matched your search
@@ -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 = {
|
||||
|
||||
Reference in new issue
Block a user