🐳 chore(eslint): 修正所有文件的eslint 错误❌

This commit is contained in:
xuan
2022-11-28 11:06:15 +08:00
parent 99a920975f
commit cc99111b4f
149 changed files with 3270 additions and 3252 deletions
+4 -3
View File
@@ -22,7 +22,7 @@ interface params {
customClassName?: string
customTextClass?: string
}
export default forwardRef((props: params, ref) => {
const Checkbox = (props: params, ref) => {
const {
onSelect,
onClose,
@@ -61,7 +61,7 @@ export default forwardRef((props: params, ref) => {
const res = !selected
if (res) {
onSelect?.()
}
}
else {
onClose?.()
}
@@ -116,4 +116,5 @@ export default forwardRef((props: params, ref) => {
)}
</View>
)
})
}
export default forwardRef(Checkbox)