diff --git a/src/core/LoadingSpinner/LoadingSpinner.tsx b/src/core/LoadingSpinner/LoadingSpinner.tsx index 066dc40fb..b50bb3269 100644 --- a/src/core/LoadingSpinner/LoadingSpinner.tsx +++ b/src/core/LoadingSpinner/LoadingSpinner.tsx @@ -71,6 +71,7 @@ class BaseLoadingSpinner extends Component { variant = 'normal', status = 'loading', style, + forwardedRef, ...rest } = this.props; const [marginProps, passProps] = separateMarginProps(rest); @@ -87,6 +88,7 @@ class BaseLoadingSpinner extends Component { })} as="section" id={id} + ref={forwardedRef} {...passProps} style={{ ...marginStyle, ...style }} >