kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Add 'eslint-disable' comment into fork-awesome-icon.tsx
rodzic
65c25cd16e
commit
edd93fc6b0
|
@ -5,8 +5,7 @@
|
||||||
* @see soapbox/components/icon
|
* @see soapbox/components/icon
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import clsx from 'clsx';
|
||||||
import React from 'react';
|
|
||||||
|
|
||||||
export interface IForkAwesomeIcon extends React.HTMLAttributes<HTMLLIElement> {
|
export interface IForkAwesomeIcon extends React.HTMLAttributes<HTMLLIElement> {
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -25,7 +24,7 @@ const ForkAwesomeIcon: React.FC<IForkAwesomeIcon> = ({ id, className, fixedWidth
|
||||||
<i
|
<i
|
||||||
role='img'
|
role='img'
|
||||||
// alt={alt}
|
// alt={alt}
|
||||||
// className={clsx('fa', `fa-${id}`, className, { 'fa-fw': fixedWidth })}
|
className={clsx('fa', `fa-${id}`, className, { 'fa-fw': fixedWidth })} // eslint-disable-line tailwindcss/no-custom-classname
|
||||||
{...rest}
|
{...rest}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
Ładowanie…
Reference in New Issue