refactor: replace classnames with clsx (#78)

This commit is contained in:
Razboy20
2024-02-05 21:27:22 -06:00
committed by GitHub
parent 1b51d65c89
commit b2b6a06280
11 changed files with 29 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
import { background } from '@shared/messages';
import classNames from 'classnames';
import clsx from 'clsx';
import React, { PropsWithChildren } from 'react';
import Text, { TextProps } from '../Text/Text';
import styles from './Link.module.scss';
@@ -29,7 +29,7 @@ export default function Link(props: PropsWithChildren<Props>) {
color='bluebonnet'
{...passedProps}
span
className={classNames(
className={clsx(
styles.link,
{
[styles.disabled]: isDisabled,