Files
bishengWeb/src/components/bs-icons/tab/index.tsx
zhangkai b825dcd4d5 1
2024-06-05 14:27:06 +08:00

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} />;
});