Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination component has no showTitle property #23134

Closed
1 task
LevonHaroutyunyan opened this issue Apr 10, 2020 · 1 comment
Closed
1 task

Pagination component has no showTitle property #23134

LevonHaroutyunyan opened this issue Apr 10, 2020 · 1 comment

Comments

@LevonHaroutyunyan
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://ant.design/components/pagination/

Steps to reproduce

Install antd, import { Pagination } from 'antd'. Set the component property showTitle={false}.

What is expected?

The tooltip will not be visible when hovering over pagination items.

What is actually happening?

The Pagination component does not have showTitle property.

Environment Info
antd 4.1.1
React 16.9.0
System Linux, Ubuntu 18.04 and Windows 10
Browser All browsers

The library clearly states that there should be such a property. But there is no such thing. I use a typescript in the project

@donaldnevermore
Copy link
Contributor

donaldnevermore commented Apr 10, 2020

I'd like to take on this one. Though stated in the docs, it seems like the property showTitle is not declared in the component Pagination & TypeScript just reports a compile error.

afc163 added a commit that referenced this issue Apr 11, 2020
* fix: Pagination missing showTitle (#23134)

* Update Chinese description of showTitle

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: 偏右 <afc163@gmail.com>
@afc163 afc163 closed this as completed Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants