diff --git a/src/generic/Loading.jsx b/src/generic/Loading.jsx index 64abd9acec..e2b4d38e38 100644 --- a/src/generic/Loading.jsx +++ b/src/generic/Loading.jsx @@ -1,12 +1,14 @@ import React from 'react'; +import PropTypes from 'prop-types'; import { Spinner } from '@openedx/paragon'; import { FormattedMessage } from '@edx/frontend-platform/i18n'; -export const LoadingSpinner = () => ( +export const LoadingSpinner = ({ size}) => ( ( /> ); +LoadingSpinner.defaultProps = { + size: undefined, +} + +LoadingSpinner.prototype = { + size: PropTypes.string +} + const Loading = () => (
diff --git a/src/studio-home/tabs-section/courses-tab/courses-filters/__snapshots__/index.test.jsx.snap b/src/studio-home/tabs-section/courses-tab/courses-filters/__snapshots__/index.test.jsx.snap index dd94694929..17d0a896e9 100644 --- a/src/studio-home/tabs-section/courses-tab/courses-filters/__snapshots__/index.test.jsx.snap +++ b/src/studio-home/tabs-section/courses-tab/courses-filters/__snapshots__/index.test.jsx.snap @@ -6,62 +6,66 @@ exports[`CoursesFilters snapshot 1`] = ` class="d-flex" >
- + + + + + submit search + + + +