Git Product home page Git Product logo

Comments (4)

Wxh16144 avatar Wxh16144 commented on May 23, 2024

你这个截图指的是:https://github.com/react-component/select/blob/424bcfd0614f9d8e013a983a2daf80fa46c906ca/src/Selector/MultipleSelector.tsx#L145 这里的逻辑吧。(你的截图不规范,还得单独去找,很麻烦

我看了一眼代码确实是一个 action 操作,但是你说的改名这会变成一个 breakchange,不太可取。

(源码也是将 onClose 直接传递给某个操作 onClick 回调函数

最后贴一个 antd 的文档: https://ant.design/components/select-cn#select-demo-custom-tag-render

image

from ant-design.

hans000 avatar hans000 commented on May 23, 2024

我主要想问一下作者的看法,应该可以先注上deprecated 写上原因的,另开一个字段

from ant-design.

Wxh16144 avatar Wxh16144 commented on May 23, 2024

我主要想问一下作者的看法,应该可以先注上deprecated 写上原因的,另开一个字段

嗯嗯,可以等核心成员今天周会的时候评论一下~

from ant-design.

MadCcc avatar MadCcc commented on May 23, 2024

onClose 指的是点击关闭按钮的这个事件,Modal 也是一样的,没有更名必要

from ant-design.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.