classNames() --> clsx()

This commit is contained in:
Alex Gleason
2023-02-06 12:01:03 -06:00
parent 6743439efd
commit 701215d7bc
117 changed files with 310 additions and 310 deletions

View File

@@ -1,4 +1,4 @@
import classNames from 'clsx';
import clsx from 'clsx';
import React from 'react';
interface IIndicator {
@@ -10,7 +10,7 @@ interface IIndicator {
const Indicator: React.FC<IIndicator> = ({ state = 'inactive', size = 'sm' }) => {
return (
<div
className={classNames('rounded-full outline-double', {
className={clsx('rounded-full outline-double', {
'w-1.5 h-1.5 shadow-sm': size === 'sm',
'bg-green-500 outline-green-400': state === 'active',
'bg-yellow-500 outline-yellow-400': state === 'pending',