Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

Commit 1c42047

Browse files
author
Megan Cole
committed
pass ariaLabel as normal prop instead of destructuring
1 parent 8d03ee2 commit 1c42047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/BlockUi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,12 @@ class BlockUi extends Component {
145145
loader: Loader,
146146
renderChildren,
147147
keepInView,
148+
ariaLabel,
148149
...attributes
149150
} = this.props;
150151

151152
const classes = blocking ? `block-ui ${className}` : className;
152153
const renderChilds = !blocking || renderChildren;
153-
const { ariaLabel = 'loading' } = attributes;
154154

155155
return (
156156
<Tag {...attributes} className={classes} aria-busy={blocking}>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /