react-component / react-component/slider

Slider - handle prop should be optional

未关闭
#653 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
3.1k
派生
768
平均合并
11 天 22 小时
30 天内合并 PR
5

描述

If I read and understand the code correctly shouldn't the handle prop be optional? I might have also missunderstood. If so, please correct me.
https://github.com/react-component/slider/blob/b5a337e71c6678f2d24e018509379a8e6f1d0518/src/Slider.tsx#L29

Related to changes that came in this pull request https://github.com/react-component/slider/pull/641

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 src/Slider.tsx 第 29 行开始,将 handle prop 与 pull request #641 中的更改进行比较。确定该 prop 是否应为可选,然后使用项目相关的检查验证所得的类型定义。

由索引模型根据 Issue 内容生成。

评估

技术栈
react, typescript
领域
frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。