Skip to content

Commit

Permalink
Fixed typo after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasOsti committed Dec 13, 2024
1 parent 09a758e commit 05c5995
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bundle/ui-dev/src/modules/common/spinner/spinner.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const SIZES = {
LARGE: 'large',
};

export const COLOR_VARIATNS = {
export const COLOR_VARIANTS = {
PRIMARY: 'primary',
LIGHT: 'light',
};
Expand All @@ -26,12 +26,12 @@ const Spinner = ({ size, colorVariant }) => {

Spinner.propTypes = {
size: PropTypes.oneOf(Object.values(SIZES)),
colorVariant: PropTypes.oneOf(Object.values(COLOR_VARIATNS)),
colorVariant: PropTypes.oneOf(Object.values(COLOR_VARIANTS)),
};

Spinner.defaultProps = {
size: SIZES.MEDIUM,
colorVariant: COLOR_VARIATNS.PRIMARY,
colorVariant: COLOR_VARIANTS.PRIMARY,
};

export default Spinner;

0 comments on commit 05c5995

Please sign in to comment.