refactor: replace classnames with clsx (#78)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import classNames from 'classnames';
|
||||
import clsx from 'clsx';
|
||||
import React from 'react';
|
||||
import styles from './Spinner.module.scss';
|
||||
|
||||
@@ -12,5 +12,5 @@ type Props = {
|
||||
* A simple spinner component that can be used to indicate loading.
|
||||
*/
|
||||
export default function Spinner({ className, testId, style }: Props) {
|
||||
return <div data-testid={testId} style={style} className={classNames(styles.spinner, className)} />;
|
||||
return <div data-testid={testId} style={style} className={clsx(styles.spinner, className)} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user