🌈 style(eslint): 修复eslint的报错❌
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Input, View } from '@tarojs/components'
|
||||
import type { ReactNode } from 'react'
|
||||
import type { ReactNode } from 'react'
|
||||
import { ReactHTMLElement, memo, useDebugValue, useMemo } from 'react'
|
||||
import styles from './index.module.scss'
|
||||
|
||||
@@ -17,8 +17,7 @@ interface Params {
|
||||
titleStyle?: Object
|
||||
styleObj?: Object
|
||||
}
|
||||
|
||||
export default memo((props: Params) => {
|
||||
const SearchInput = (props: Params) => {
|
||||
const {
|
||||
showTitle = true,
|
||||
title = '标题',
|
||||
@@ -60,4 +59,5 @@ export default memo((props: Params) => {
|
||||
{showIcon && <View className={`iconfont icon-jiantou ${styles.icon_more_self}`}></View>}
|
||||
</View>
|
||||
)
|
||||
})
|
||||
}
|
||||
export default memo(SearchInput)
|
||||
|
||||
Reference in New Issue
Block a user