🐳 chore(eslint): 修正所有文件的eslint 错误❌
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { View } from '@tarojs/components'
|
||||
import type { ReactNode } from 'react'
|
||||
import type { ReactNode } from 'react'
|
||||
import { memo, useMemo } from 'react'
|
||||
import IconFont from '../iconfont/iconfont'
|
||||
import InputX from '../InputX'
|
||||
@@ -19,8 +19,7 @@ interface Params {
|
||||
titleStyle?: Object
|
||||
styleObj?: Object
|
||||
}
|
||||
|
||||
export default memo((props: Params) => {
|
||||
const SearchInput = (props: Params) => {
|
||||
const {
|
||||
showTitle = true,
|
||||
title = '标题',
|
||||
@@ -55,4 +54,5 @@ export default memo((props: Params) => {
|
||||
{showIcon && <IconFont customClassName={styles.icon_more_self} name="icon-chakanquanbukehu" size={36} color="#333"></IconFont>}
|
||||
</View>
|
||||
)
|
||||
})
|
||||
}
|
||||
export default memo(SearchInput)
|
||||
|
||||
Reference in New Issue
Block a user