Skip to content

Tag: antd

How to reset ant design table selected rows?

I am using ant design table component and I have selected rows. I want onClick reset selected rows. I can not find out where it stores selected rows. Any Idea how to clear selected rows? Answer rowSelection also takes selectedRowKeys property that will help you control the selected rows at any point in time. …

Can I choose which AntD icon to use with allowClear = true?

If I pass allowClear={true} to an AntD Input component, a small circle with an × appears at the end of the field once a user has typed something, which can be clicked to empty the contents of the field. Is there some way to instruct AntD to use a different icon? The AntD docs for reference: Input with Clear I…

How to customize Ant.design styles

Who knows how to customize Ant.design styles in proper way? For example, I want to change the default backgroundColor and height of Header section: Is it ok, or there is a better way to customize styles? Because I have not found some component’s attributes or smth. like this. Answer Antd has externized …