appease the js-doc linter
hopefully
This commit is contained in:
parent
aac87c4635
commit
bf28993509
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ limitations under the License.
|
||||||
* object. Useful in scenarios where componentDidMount does not have a
|
* object. Useful in scenarios where componentDidMount does not have a
|
||||||
* useful reference to an element, but one needs to focus the element on
|
* useful reference to an element, but one needs to focus the element on
|
||||||
* first render. Example usage: ref={focusCapturedRef}
|
* first render. Example usage: ref={focusCapturedRef}
|
||||||
* @param ref The React reference to focus on, if not null
|
* @param {function} ref The React reference to focus on, if not null
|
||||||
*/
|
*/
|
||||||
export function focusCapturedRef(ref) {
|
export function focusCapturedRef(ref) {
|
||||||
if (ref) {
|
if (ref) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue