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, { forwardRef } from 'react';
const justifyContentOptions = {
@ -61,7 +61,7 @@ const HStack = forwardRef<HTMLDivElement, IHStack>((props, ref) => {
<Elem
{...filteredProps}
ref={ref}
className={classNames('flex rtl:space-x-reverse', {
className={clsx('flex rtl:space-x-reverse', {
// @ts-ignore
[alignItemsOptions[alignItems]]: typeof alignItems !== 'undefined',
// @ts-ignore