react-component / react-component/tabs

import { useVisibleRange } from '@rc-tabs/es/hooks/useVisibleRange' 无法找到路径

Open
#726 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
572
Forks
241
Avg merge
4d 18h
Merged PRs (30d)
4

Description

环境:next.js 14 ,antdesign 5.17.4 想增加扩展功能用到useVisibleRange文件,路径已在于\node_modules\rc-tabs/es/hooks/useVisibleRange 如何进行引用,还需什么配置吗?
2024-06-15_100128

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the import in a Next.js 14 project using antd 5.17.4, starting with the package path node_modules/rc-tabs/es/hooks/useVisibleRange. Check how rc-tabs exposes that entry point and how Next.js resolves it, then verify whether the documented import works without extra configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.