chore: lint require and how to import react (#30041)

This commit is contained in:
Stephen Zhou
2025-12-23 18:02:10 +08:00
committed by GitHub
parent 72ca3607a3
commit 403adefc07
1078 changed files with 1680 additions and 1216 deletions

View File

@ -1,5 +1,6 @@
import type { IPaginationProps, IUsePagination } from './type'
import React, { useCallback } from 'react'
import * as React from 'react'
import { useCallback } from 'react'
const usePagination = ({
currentPage,

View File

@ -1,7 +1,7 @@
import type { FC } from 'react'
import { RiArrowLeftLine, RiArrowRightLine } from '@remixicon/react'
import { useDebounceFn } from 'ahooks'
import React from 'react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'
import Button from '@/app/components/base/button'
import Input from '@/app/components/base/input'

View File

@ -5,7 +5,7 @@ import type {
PageButtonProps,
} from './type'
import { noop } from 'lodash-es'
import React from 'react'
import * as React from 'react'
import { cn } from '@/utils/classnames'
import usePagination from './hook'