🌈 style(eslint): add eslint rules
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { CustomWrapper, Input, View } from "@tarojs/components"
|
||||
import React, { FC } from "react"
|
||||
import { CustomWrapper, Input, View } from '@tarojs/components'
|
||||
import type { FC } from 'react'
|
||||
import React from 'react'
|
||||
// 解决 input 组件输入过快会出现闪烁的问题
|
||||
// https://github.com/NervJS/taro/issues/9664
|
||||
interface PropsType {
|
||||
@@ -10,7 +11,7 @@ interface PropsType {
|
||||
[Property: string]: any
|
||||
}
|
||||
const InputX: FC<PropsType> = (props) => {
|
||||
const {customClassName, customStyle,customInputStyle, customInputClassName,...inputProps} = props
|
||||
const { customClassName, customStyle, customInputStyle, customInputClassName, ...inputProps } = props
|
||||
return (
|
||||
<View className={customClassName} style={customStyle}>
|
||||
<CustomWrapper>
|
||||
|
||||
Reference in New Issue
Block a user