Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
This commit is contained in:
@@ -15,7 +15,10 @@ export type IconProps = {
|
||||
} & Omit<React.SVGAttributes<SVGSVGElement>, 'fill'>;
|
||||
|
||||
export const Icon = forwardRef<SVGSVGElement, IconProps>(
|
||||
({ className, size = '400', filled = false, src: LucideIconComponent, style, fill, ...props }, ref) => {
|
||||
(
|
||||
{ className, size = '400', filled = false, src: LucideIconComponent, style, fill, ...props },
|
||||
ref,
|
||||
) => {
|
||||
const pixelSize = ICON_PIXEL_SIZES[size];
|
||||
|
||||
return (
|
||||
@@ -33,11 +36,11 @@ export const Icon = forwardRef<SVGSVGElement, IconProps>(
|
||||
// Emphasize selection with a heavier stroke instead.
|
||||
strokeWidth={filled ? 2.75 : 2}
|
||||
fill={fill ?? 'none'}
|
||||
aria-hidden={props['aria-hidden'] ?? props['aria-label'] ? undefined : true}
|
||||
aria-hidden={(props['aria-hidden'] ?? props['aria-label']) ? undefined : true}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
Icon.displayName = 'Icon';
|
||||
|
||||
Reference in New Issue
Block a user