Is there a way to custome the className of the element li?
See original GitHub issueHi
Thanks for this component, I’d like to know if there is an api to set the element li className just like what we do to element ul with className on <Pagination>
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
HTML li class Attribute - Dofactory
HTML li class -- the best examples. The class attribute on an li element assigns one or more classnames to that element. Classes...
Read more >Change class of list of li elements - javascript - Stack Overflow
2 Answers 2 · Does features = document. · It selects every element that has the class "feature" and changes it to the...
Read more >Element.classList - Web APIs | MDN
A DOMTokenList representing the contents of the element's class attribute. If the class attribute is not set or empty, it returns an empty ......
Read more >Customizing a Component's Element - Ember Guides
If isUrgent is changed to false , then the is-urgent class name will be removed. By default, the name of the Boolean property...
Read more >CSS Selectors
The selector .optional selects any elements with class="optional" , not just <li class="optional"> . In our example ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@cbfrank Then I suggest you use
itemRender
to custom your element https://github.com/react-component/pagination/blob/master/examples/itemRender.js#L25You can use
props.prefixCls