11 lines
400 B
TypeScript
11 lines
400 B
TypeScript
import React, { forwardRef } from "react";
|
|
import { ReactComponent as Tab } from "./icon.svg";
|
|
|
|
export const TabIcon = forwardRef<
|
|
SVGSVGElement & { className: any },
|
|
React.PropsWithChildren<{ className?: string }>
|
|
>(({ className, ...props }, ref) => {
|
|
const _className = 'transition text-gray-950 ' + (className || '')
|
|
return <Tab ref={ref} {...props} className={_className} />;
|
|
});
|