@popmenu/audio-player 0.86.0 → 0.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js CHANGED
@@ -396,6 +396,9 @@ var classNames = classnames.exports;
396
396
  var iconStaticClassName = 'pop-icon';
397
397
  var Icon = function (props) {
398
398
  var icon = props.icon, className = props.className, restProps = __rest(props, ["icon", "className"]);
399
+ if (!restProps['aria-label'] && restProps['aria-hidden'] === undefined) {
400
+ restProps['aria-hidden'] = true;
401
+ }
399
402
  var classes = useIconStyles(props);
400
403
  var isValid = true;
401
404
  if (!icon || (typeof icon === 'function' && icon({}) === undefined)) {