className parameter unsupported by Spinner component #548
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://plnkr.co/edit/qqSX5kifO74fwWrN38QT?p=preview
Current behavior
Inserting a className parameter in a Spinner has no effect on how the Spinner is rendered, and the inserted class name does not appear on the DOM element.
Expected behavior
Inserting a className parameter in a Spinner has an effect on how the Spinner is rendered, and the inserted class name appears on the DOM element.
Minimal reproduction of the problem with instructions
See above Plunker
Please tell us about your environment:
Development in IntelliJ, execution on Webpack Dev Server and Glassfish
16.4.2
2.0.0-beta.1
Tested in Chrome (latest), Firefox (latest) and IE 9
ES6
How to fix
In Spinner.js, on line 391, change
let className = classNames("p-spinner p-component");
to
let className = classNames("p-spinner p-component", this.props.className);
The text was updated successfully, but these errors were encountered: