Skip to content

Commit

Permalink
Merge pull request #805 from vrk-kpa/hotfix/loadingspinner-ref
Browse files Browse the repository at this point in the history
[Hotfix] LoadingSpinner ref
  • Loading branch information
riitasointi committed Nov 24, 2023
1 parent 794316a commit 8705c86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/LoadingSpinner/LoadingSpinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class BaseLoadingSpinner extends Component<LoadingSpinnerProps> {
variant = 'normal',
status = 'loading',
style,
forwardedRef,
...rest
} = this.props;
const [marginProps, passProps] = separateMarginProps(rest);
Expand All @@ -87,6 +88,7 @@ class BaseLoadingSpinner extends Component<LoadingSpinnerProps> {
})}
as="section"
id={id}
ref={forwardedRef}
{...passProps}
style={{ ...marginStyle, ...style }}
>
Expand Down

0 comments on commit 8705c86

Please sign in to comment.